alias cppwd='eval "echo `pwd` | tr -d \\\\n | pbcopy"'Put this alias in .profile. To use, enter cppwd.
Copy working directory path to Mac clipboard
To copy the current working directory's path to the Mac's clipboard:
0 comments:
Post a Comment