mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge 837165066a into 6b3c953775
This commit is contained in:
commit
0fd1d19346
2 changed files with 2 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ compdef _git gcmsg=git-commit
|
||||||
alias gco='git checkout'
|
alias gco='git checkout'
|
||||||
compdef _git gco=git-checkout
|
compdef _git gco=git-checkout
|
||||||
alias gcm='git checkout master'
|
alias gcm='git checkout master'
|
||||||
|
alias gcd='git checkout develop'
|
||||||
alias gr='git remote'
|
alias gr='git remote'
|
||||||
compdef _git gr=git-remote
|
compdef _git gr=git-remote
|
||||||
alias grv='git remote -v'
|
alias grv='git remote -v'
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ prompt_git() {
|
||||||
zstyle ':vcs_info:*' formats ' %u%c'
|
zstyle ':vcs_info:*' formats ' %u%c'
|
||||||
zstyle ':vcs_info:*' actionformats '%u%c'
|
zstyle ':vcs_info:*' actionformats '%u%c'
|
||||||
vcs_info
|
vcs_info
|
||||||
echo -n "${ref/refs\/heads\//± }${vcs_info_msg_0_}"
|
echo -n "${ref/refs\/heads\// }${vcs_info_msg_0_}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue