Copy Current Path

Simple alias command to copy current working path to clipboard.

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 && echo 'pwd copied to clipboard'"

See blog post for more details.

Copy Current Path

> finding connected notes…
> 1 note share a tag
copy-current-path.md Terminal: Copy Current Path