Created
March 11, 2013 19:34
-
-
Save mbauhardt/5136994 to your computer and use it in GitHub Desktop.
A plugin for ohmyzsh which copies the current directory into the clipboard. _pbcopy_ is required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function copydir { | |
| pwd | tr -d "\r\n" | pbcopy | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment