mirror of https://github.com/bjeanes/dotfiles.git
Removed a few silly git aliases and changed the git branch PS1 view to my old one (colour highlighted)
parent
1e5f9a202e
commit
af75483efe
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue