summaryrefslogtreecommitdiff
path: root/plugins/wd/_wd.sh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-02-22 10:15:08 -0800
committerRobby Russell <robby@planetargon.com>2015-02-22 10:15:08 -0800
commitbe63e8b7767c8249c1b71b2a2979bcdcbab58496 (patch)
tree2ad2da706be8374cb4a3759604e627d63f8a9a63 /plugins/wd/_wd.sh
parent6809b42b65615019a182d0f0288ffc6d702ff7f9 (diff)
parent4533c7a31c737622782ce3233d2eb536f9cb4f2e (diff)
downloadzsh-be63e8b7767c8249c1b71b2a2979bcdcbab58496.tar.gz
zsh-be63e8b7767c8249c1b71b2a2979bcdcbab58496.tar.bz2
zsh-be63e8b7767c8249c1b71b2a2979bcdcbab58496.zip
Merge pull request #3518 from mfaerevaag/master
[wd] Update to v0.4.1
Diffstat (limited to 'plugins/wd/_wd.sh')
-rw-r--r--plugins/wd/_wd.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/plugins/wd/_wd.sh b/plugins/wd/_wd.sh
index 2bb58dd31..b67f4a1e2 100644
--- a/plugins/wd/_wd.sh
+++ b/plugins/wd/_wd.sh
@@ -20,10 +20,13 @@ function _wd() {
'add:Adds the current working directory to your warp points'
'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 or shows a specific target directory for a point'
+ 'list:Outputs all stored warp points'
+ 'ls:Show files from given warp point'
+ 'path:Show path to given warp 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'
+ 'clean:Remove points warping to nonexistent directories'
+ 'clean!:Remove nonexistent directories without confirmation'
'..:Go back to last directory'
)
@@ -47,6 +50,12 @@ function _wd() {
show)
_describe -t points "Warp points" warp_points && ret=0
;;
+ ls)
+ _describe -t points "Warp points" warp_points && ret=0
+ ;;
+ path)
+ _describe -t points "Warp points" warp_points && ret=0
+ ;;
esac
;;
esac