Remove defunct prompt coloring function.
This commit is contained in:
13
.bashrc
13
.bashrc
@ -113,19 +113,6 @@ function e {
|
||||
# Configure go location
|
||||
export PATH=$PATH:/var/home/james/go/bin
|
||||
|
||||
# Setup prompt
|
||||
function color_my_prompt {
|
||||
local __user_and_host="\[\033[01;32m\]\u@\h"
|
||||
local __cur_location="\[\032[01;34m\]\w"
|
||||
local __git_branch_color="\[\033[31m\]"
|
||||
local __git_branch='`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`'
|
||||
local __prompt_tail="\[\033[35m\]$"
|
||||
local __last_color="\[\033[00m\]"
|
||||
export PS1="$__user_and_host $__cur_location $__git_branch_color$__git_branch$__prompt_tail$__last_color "
|
||||
}
|
||||
|
||||
color_my_prompt
|
||||
|
||||
# If ssh-agent is not already running
|
||||
if [ -z "$(pgrep ssh-agent)" ]; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user