Last active
October 1, 2015 01:58
-
-
Save kdabir/1899442 to your computer and use it in GitHub Desktop.
Setting prompt in shell
This file contains hidden or 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
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 $ " |
This file contains hidden or 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
source .bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment