Skip to content

Instantly share code, notes, and snippets.

@kdabir
Last active October 1, 2015 01:58
Show Gist options
  • Save kdabir/1899442 to your computer and use it in GitHub Desktop.
Save kdabir/1899442 to your computer and use it in GitHub Desktop.
Setting prompt in shell
export PS1="\n[\w]\n\u@\h $ "
# a more fancier and colored one
#export PS1="\n[\[\e[0;32m\]\w\[\e[0m\]]\n\u@\h $ "
source .bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment