Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Minimal Bash shell prompt
# in ~/.bash_profile
# \W The basename of $PWD, with $HOME abbreviated with a tilde
# full list: https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html
export PS1="\W \$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.