Modified prompt

This commit is contained in:
Xavier Logerais 2015-09-18 12:14:41 +02:00
parent d16070946b
commit 0b6ea2e68b

View File

@ -7,6 +7,9 @@ else
export PS1='\[\e[01;32m\]\u@\h\[\e[01;34m\] \w \$\[\e[0m\] ' export PS1='\[\e[01;32m\]\u@\h\[\e[01;34m\] \w \$\[\e[0m\] '
fi fi
# Limit the path to 3 levels
PROMPT_DIRTRIM=3
# Add a smiley at end of prompt showing last command status code # Add a smiley at end of prompt showing last command status code
#smiley() { #smiley() {
# ret_val=$? # ret_val=$?