summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRichard Mitchell <rwmitchell@gmail.com>2023-02-12 11:46:25 -0500
committerGitHub <noreply@github.com>2023-02-12 17:46:25 +0100
commit416560c9bf0c03afe6f576ab9e420256843bfb8b (patch)
tree4357cc42c794ef1413ef68a581889c9297742296 /lib
parented407466b8ae3c12c2f03da004d721618e64fd49 (diff)
downloadzsh-416560c9bf0c03afe6f576ab9e420256843bfb8b.tar.gz
zsh-416560c9bf0c03afe6f576ab9e420256843bfb8b.tar.bz2
zsh-416560c9bf0c03afe6f576ab9e420256843bfb8b.zip
docs(lib/directories): comment how to disable alias (#11489)
Diffstat (limited to 'lib')
-rw-r--r--lib/directories.zsh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/directories.zsh b/lib/directories.zsh
index 5aa1b3d5b..091140626 100644
--- a/lib/directories.zsh
+++ b/lib/directories.zsh
@@ -3,6 +3,11 @@ setopt auto_pushd
setopt pushd_ignore_dups
setopt pushdminus
+# add (uncommented):
+# zstyle ':omz:directories' aliases no
+# to your `zshrc` before loading `oh-my-zsh.sh`
+# to disable the following aliases and functions
+
zstyle -T ':omz:directories' aliases || return
alias -g ...='../..'