Skip to content
This repository
Browse code

Merge pull request #1582 from To1ne/pushdminus

use pushdminus
  • Loading branch information...
commit b61555d7c0a7120c6eea9c87254b729b3990b5da 2 parents 8fea507 + fe4c237
Robby Russell authored April 23, 2013

Showing 1 changed file with 9 additions and 8 deletions. Show diff stats Hide diff stats

  1. 17  lib/directories.zsh
17  lib/directories.zsh
@@ -2,6 +2,7 @@
2 2
 setopt auto_name_dirs
3 3
 setopt auto_pushd
4 4
 setopt pushd_ignore_dups
  5
+setopt pushdminus
5 6
 
6 7
 alias ..='cd ..'
7 8
 alias cd..='cd ..'
@@ -11,14 +12,14 @@ alias cd.....='cd ../../../..'
11 12
 alias cd/='cd /'
12 13
 
13 14
 alias 1='cd -'
14  
-alias 2='cd +2'
15  
-alias 3='cd +3'
16  
-alias 4='cd +4'
17  
-alias 5='cd +5'
18  
-alias 6='cd +6'
19  
-alias 7='cd +7'
20  
-alias 8='cd +8'
21  
-alias 9='cd +9'
  15
+alias 2='cd -2'
  16
+alias 3='cd -3'
  17
+alias 4='cd -4'
  18
+alias 5='cd -5'
  19
+alias 6='cd -6'
  20
+alias 7='cd -7'
  21
+alias 8='cd -8'
  22
+alias 9='cd -9'
22 23
 
23 24
 cd () {
24 25
   if   [[ "x$*" == "x..." ]]; then

0 notes on commit b61555d

Please sign in to comment.
Something went wrong with that request. Please try again.