summaryrefslogtreecommitdiff
path: root/plugins/wd/_wd.sh
diff options
context:
space:
mode:
authorMarkus Faerevaag <mafaer@gmail.com>2014-09-07 21:56:34 +0200
committerMarkus Faerevaag <mafaer@gmail.com>2014-09-07 21:56:34 +0200
commit6855dd4727a395bfe8bd471c939819d907cb6c27 (patch)
tree70cd9eea53aad6321f61068246b9b83ff50eccf7 /plugins/wd/_wd.sh
parent96e4e5dd032d2df75f87d5b3e5594d527c655b16 (diff)
downloadzsh-6855dd4727a395bfe8bd471c939819d907cb6c27.tar.gz
zsh-6855dd4727a395bfe8bd471c939819d907cb6c27.tar.bz2
zsh-6855dd4727a395bfe8bd471c939819d907cb6c27.zip
[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