3 ms·
On Mac OS, copy the CWD to the clipboard: alias cpcd="echo -ne \$(pwd) | pbcopy" Useful when you have a file picker in front of you, but you know you have a t
by kenrose 11y ago
On Mac OS, copy the CWD to the clipboard:
alias cpcd="echo -ne \$(pwd) | pbcopy"
Useful when you have a file picker in front of you, but you know you have a terminal already in the directory you want. Switch to the term, cpcd, switch to the file picker, Go to folder (⌘-Shift-G), Paste (⌘-V).
when you have a terminal open in a directory, but another app has a file picker box.
- nemild 11y agoWhy not just do 'open .' in Terminal/iTerm 2?