Fixes #947
@ -29,6 +29,10 @@ This setting affects all aliases and functions that call `git-status`.
Aliases
-------
Aliases are enabled by default. You can disable them with:
zstyle ':prezto:module:git:alias' skip 'yes'
### Git
- `g` is short for `git`.
@ -26,6 +26,10 @@ zstyle -s ':prezto:module:git:status:ignore' submodules '_git_status_ignore_subm
# Aliases
#
zstyle -s ':prezto:module:git:alias' skip '_git_alias_skip' \
|| _git_alias_skip='no'
if [[ "$_git_alias_skip" = no ]]; then
# Git
alias g='git'
@ -179,3 +183,4 @@ alias gwc='git clean -n'
alias gwC='git clean -f'
alias gwx='git rm -r'
alias gwX='git rm -rf'
fi