Small tweak to bash prompt

This commit is contained in:
2013-04-15 21:30:23 +01:00
parent 9f83d72fce
commit ac6cc9b83c

View File

@@ -6,7 +6,7 @@
if [ -f "$DOTBASH/git-aware-prompt/main.sh" ]; then
GITAWAREPROMPT="$DOTBASH/git-aware-prompt"
source "$GITAWAREPROMPT/main.sh"
export PS1="\u@\h \w\[$txtcyn\]\$git_branch\[$txtylw\]\$git_dirty\[$txtrst\]\$ "
export PS1="\u@\h \w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
export SUDO_PS1="\[$bakred\]\u@\h\[$txtrst\] \w\$ "
else
# Customize prompt to act like pre-leopard