Browse Source

Merge pull request #3395 from vmalloc/patch-1

Fix dircycle plugin
Robby Russell 10 years ago
parent
commit
77bfdc69ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/dircycle/dircycle.plugin.zsh

+ 1 - 1
plugins/dircycle/dircycle.plugin.zsh

@@ -5,6 +5,6 @@
 eval "insert-cycledleft () { zle push-line; LBUFFER='pushd -q +1'; zle accept-line }"
 eval "insert-cycledleft () { zle push-line; LBUFFER='pushd -q +1'; zle accept-line }"
 zle -N insert-cycledleft
 zle -N insert-cycledleft
 bindkey "\e[1;6D" insert-cycledleft
 bindkey "\e[1;6D" insert-cycledleft
-eval "insert-cycledright () { zle push-line; LBUFFER='pushd -q -0'; zle accept-line }"
+eval "insert-cycledright () { zle push-line; LBUFFER='pushd -q +0'; zle accept-line }"
 zle -N insert-cycledright
 zle -N insert-cycledright
 bindkey "\e[1;6C" insert-cycledright
 bindkey "\e[1;6C" insert-cycledright