Created
July 11, 2013 03:37
-
-
Save damondouglas/5972355 to your computer and use it in GitHub Desktop.
pwd | tr -d '\n' | pbcopy
This file contains 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
pwd | tr -d '\n' | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
courtesy: http://www.bradlanders.com/2011/11/17/bash-one-liner-copy-current-working-directory-to-clipboard-in-os-x/