Removed a few silly git aliases and changed the git branch PS1 view to my old one (colour highlighted)

pull/2/head
Bodaniel Jeanes 2008-09-26 09:27:52 +10:00
parent 1e5f9a202e
commit af75483efe
1 changed files with 0 additions and 7 deletions

View File

@ -25,17 +25,10 @@ function gpall() {
alias gitrm="git stat | grep deleted | awk '{print $3}' | xargs git rm" alias gitrm="git stat | grep deleted | awk '{print $3}' | xargs git rm"
alias gitx="open -b nl.frim.GitX" alias gitx="open -b nl.frim.GitX"
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
PS1="\w\$(parse_git_branch) $ "
# End Dr Nic Compatibility Mode # End Dr Nic Compatibility Mode
# Bo's preferred aliases # Bo's preferred aliases
alias gs='gst'
alias gi='git init' alias gi='git init'
alias ga='git add .'
alias gac='gca' alias gac='gca'
alias gps='gp' alias gps='gp'
alias gpl='gl' alias gpl='gl'