mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Small tweak to bash prompt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user