Diff
1diff --git a/README.md b/README.md
2index 1e4b7ff70b442a1231773813152bb65c59e4e358..7f4a26cab49cb8da903a16679acd566ee454a9b9 100644
3--- a/README.md
4+++ b/README.md
5@@ -276,6 +276,16 @@ If you have many functions that go well together, you can put them as a `XYZ.plu
6
7 If you would like to override the functionality of a plugin distributed with Oh My Zsh, create a plugin of the same name in the `custom/plugins/` directory and it will be loaded instead of the one in `plugins/`.
8
9+### Remove directories aliases
10+
11+If you want to skip ohmyzsh default
12+[directories aliases](https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/directories.zsh) you can add the
13+following snippet to your `zshrc`, before loading `oh-my-zsh.sh` script:
14+
15+```zsh
16+zstyle ':omz:directories' aliases no
17+```
18+
19 ## Getting Updates
20
21 By default, you will be prompted to check for updates every 2 weeks. You can choose other update modes by adding a line to your `~/.zshrc` file, **before Oh My Zsh is loaded**:
22diff --git a/lib/directories.zsh b/lib/directories.zsh
23index c62f56468450478ef8213e48662d171bc58677fa..5aa1b3d5bec15f718b40ea1068fb5e61e44ba24d 100644
24--- a/lib/directories.zsh
25+++ b/lib/directories.zsh
26@@ -3,6 +3,8 @@ setopt auto_pushd
27 setopt pushd_ignore_dups
28 setopt pushdminus
29
30+zstyle -T ':omz:directories' aliases || return
31+
32 alias -g ...='../..'
33 alias -g ....='../../..'
34 alias -g .....='../../../..'