From d2c14fecb9e6d2351e8fa380974e6f9c91fc1d14 Mon Sep 17 00:00:00 2001 From: Zeh Rizzatti Date: Wed, 12 Dec 2012 14:44:08 -0300 Subject: [PATCH] define aliases for git if :prezto:alias is set --- modules/git/alias.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index 8d84d923..bf922324 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -22,6 +22,11 @@ zstyle -s ':prezto:module:git:log:brief' format '_git_log_brief_format' \ zstyle -s ':prezto:module:git:status:ignore' submodules '_git_status_ignore_submodules' \ || _git_status_ignore_submodules='none' +# Return if conditions are unsatistied +if ! zstyle -t ':prezto:alias' pmodule all git; then + return 1 +fi + # # Aliases #