make creation of git aliases optional

This commit is contained in:
Johann Klähn 2012-10-11 00:43:43 +02:00
parent bb597ae22d
commit 8590eb85a6
2 changed files with 8 additions and 1 deletions

View file

@ -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`.

View file

@ -14,5 +14,7 @@ fi
pmodload 'helper'
# Source module files.
if zstyle -T ':prezto:module:git' aliases; then
source "${0:h}/alias.zsh"
fi