Created
June 21, 2022 21:46
-
-
Save kbfreder/0d4000f471b47026f8ad935d089c74d2 to your computer and use it in GitHub Desktop.
misc .bash_profile
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
# to change the username displayed at the bash prompt | |
PS1="kendra@\W $ " | |
# functions | |
function path(){ # nicely list all dir in path | |
old=$IFS # rather than separated by ':', listed 1 per line | |
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