Last active
October 30, 2018 09:59
-
-
Save LeonardoCardoso/22d4a96b88e075ec7641 to your computer and use it in GitHub Desktop.
One line command to copy the current terminal path on Mac
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
#... | |
alias cpwd="pwd | tr -d '\n' | pbcopy" | |
#... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this line on ~/.bash_profile, ~/.profile and ~/.bashrc. Then use the command "source" to restart them.