mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
added all shell configuration files
This commit is contained in:
12
shell/bash/prompt.sh
Normal file
12
shell/bash/prompt.sh
Normal 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$ '
|
||||
Reference in New Issue
Block a user