Last active
October 28, 2017 06:48
-
-
Save weshouman/11282543 to your computer and use it in GitHub Desktop.
#bash
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
#(Function credit: usenet archive) | |
#add me to ~/.bashrc or ~/.bash_profile | |
#then anywhere in the shell u could write $ path to get the path in a nice format | |
function path(){ | |
old=$IFS | |
IFS=: | |
printf "%s\n" $PATH | |
IFS=$old | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment