make creation of git aliases optional
This commit is contained in:
parent
bb597ae22d
commit
8590eb85a6
2 changed files with 8 additions and 1 deletions
|
@ -28,6 +28,11 @@ This setting affects all aliases and functions that call `git-status`.
|
|||
Aliases
|
||||
-------
|
||||
|
||||
By default several short aliases are set up for quick access to often needed commands.
|
||||
If you do not want this use:
|
||||
|
||||
zstyle ':prezto:module:git' aliases 'no'
|
||||
|
||||
### Git
|
||||
|
||||
- `g` is short for `git`.
|
||||
|
|
|
@ -14,5 +14,7 @@ fi
|
|||
pmodload 'helper'
|
||||
|
||||
# Source module files.
|
||||
if zstyle -T ':prezto:module:git' aliases; then
|
||||
source "${0:h}/alias.zsh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue