summaryrefslogtreecommitdiff
path: root/plugins/wd/_wd.sh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-11-06 09:28:08 -0800
committerRobby Russell <robby@planetargon.com>2014-11-06 09:28:08 -0800
commit8a51bfd76b3dc747c92005cd941d790ed2c83ffd (patch)
tree9524f4fafd9ad2f52b50ec80380ed81ef99c0479 /plugins/wd/_wd.sh
parent35f1a2373529a9318b9a7818a6945e8288c2a93d (diff)
parent9f801ff48d46847e3c91e58b2ba2f5b61f6dcef8 (diff)
downloadzsh-8a51bfd76b3dc747c92005cd941d790ed2c83ffd.tar.gz
zsh-8a51bfd76b3dc747c92005cd941d790ed2c83ffd.tar.bz2
zsh-8a51bfd76b3dc747c92005cd941d790ed2c83ffd.zip
Merge pull request #3108 from mfaerevaag/master
[wd] New minor version (v0.4)
Diffstat (limited to 'plugins/wd/_wd.sh')
-rw-r--r--plugins/wd/_wd.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/wd/_wd.sh b/plugins/wd/_wd.sh
index 0b03d8fff..2bb58dd31 100644
--- a/plugins/wd/_wd.sh
+++ b/plugins/wd/_wd.sh
@@ -21,7 +21,8 @@ function _wd() {
'add!:Overwrites existing warp point'
'rm:Removes the given warp point'
'ls:Outputs all stored warp points'
- 'show:Outputs all warp points that point to the current directory'
+ 'show:Outputs all warp points that point to the current directory or shows a specific target directory for a point'
+ 'show:Outputs all warp points that point to the current directory or shows a specific target directory for a point'
'help:Show this extremely helpful text'
'..:Go back to last directory'
)
@@ -43,6 +44,9 @@ function _wd() {
add)
_message 'Write the name of your warp point' && ret=0
;;
+ show)
+ _describe -t points "Warp points" warp_points && ret=0
+ ;;
esac
;;
esac