diff --git a/z.lua.plugin.zsh b/z.lua.plugin.zsh index dd90701..29e9e70 100644 --- a/z.lua.plugin.zsh +++ b/z.lua.plugin.zsh @@ -24,11 +24,11 @@ export _ZL_FZF_FLAG=${_ZL_FZF_FLAG:-"-e"} eval "$($ZLUA_EXEC $ZLUA_SCRIPT --init zsh once enhanced)" - -alias zz='z -i' -alias zc='z -c' -alias zf='z -I' -alias zb='z -b' -alias zh='z -I -t .' -alias zzc='zz -c' - +if [[ -z "$_ZL_NO_ALIASES" ]]; then + alias zz='z -i' + alias zc='z -c' + alias zf='z -I' + alias zb='z -b' + alias zh='z -I -t .' + alias zzc='zz -c' +fi