Skip to content

Commit

Permalink
updating PS1
Browse files Browse the repository at this point in the history
  • Loading branch information
git2samus committed Aug 21, 2011
1 parent 56d25c3 commit c3f0c88
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .bashrc
Expand Up @@ -9,8 +9,14 @@ if [[ $- = *i* ]]; then
gitps1='$(__git_ps1)'
. ~/.gitsh
fi
t_bold=\\[$(tput bold)\\] t_reset=\\[$(tput sgr0)\\]
PS1="$t_reset\\n$t_bold\\u@\\h:\\w$t_reset$gitps1\\n\\$ "; PS2='> '; PS3='? '; PS4='+ '

# monochrome
# t_bold=\\[$(tput bold)\\] t_reset=\\[$(tput sgr0)\\]
# PS1="$t_reset\\n$t_bold\\u@\\h:\\w$t_reset$gitps1\\n\\$ "; PS2='> '; PS3='? '; PS4='+ '

# cygwin style
t_green=\\[$(tput setaf 2)\\] t_yellow=\\[$(tput setaf 3)\\] t_reset=\\[$(tput sgr0)\\]
PS1="$t_reset\\n$t_green\\u@\\h $t_yellow\\w$t_reset$gitps1\\n\\$ "; PS2='> '; PS3='? '; PS4='+ '

unalias -a; [[ -r ~/.aliasrc ]] && . ~/.aliasrc
fi
Expand Down

0 comments on commit c3f0c88

Please sign in to comment.