TLDR: Create this alias into your .aliases/.zshrc/.bashrc or where ever you store aliases for easier use later. alias cpwd="pwd | tr -d '\n' | pbcopy...