added all shell configuration files

This commit is contained in:
2012-02-06 00:33:43 +00:00
parent 1eb03bd739
commit 9044b2d7af
19 changed files with 895 additions and 0 deletions

12
shell/bash/prompt.sh Normal file
View File

@@ -0,0 +1,12 @@
#
# Bash Prompt
#
PROMPT_COMMAND="find_git_branch; $PROMPT_COMMAND"
# Git enabled prompt
export PS1="\[$txtrst\]\u@\h \w\[$txtcyn\]\$git_branch\[$txtrst\]\$ "
export SUDO_PS1="\[$txtrst\]\[$bakred\]\u@\h\[$txtrst\] \w\$ "
# Customize prompt to act like pre-leopard
# PS1='\h:\w \u$ '