4fbfb149d3edcfe18b7b008c3a4a8e7523d4b811
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Add back the `-` alias to go to the previous directory
The alias was removed in #3564. A couple of users were using
it, so I'm adding it back.
Diff
1diff --git a/lib/directories.zsh b/lib/directories.zsh
2index 3bffa9fd96cef66fbd669c6e5087dddd1bb54d0b..a50a692c8abaff1a94afff1c6ecf1c14e0cd8197 100644
3--- a/lib/directories.zsh
4+++ b/lib/directories.zsh
5@@ -8,6 +8,7 @@ alias -g ....='../../..'
6 alias -g .....='../../../..'
7 alias -g ......='../../../../..'
8
9+alias -- -='cd -'
10 alias 1='cd -'
11 alias 2='cd -2'
12 alias 3='cd -3'