summaryrefslogtreecommitdiff
path: root/plugins/wd/_wd.sh
diff options
context:
space:
mode:
authorMarkus Faerevaag <m@frv.ag>2015-01-26 00:13:39 +0100
committerMarkus Faerevaag <m@frv.ag>2015-01-26 00:13:39 +0100
commit4533c7a31c737622782ce3233d2eb536f9cb4f2e (patch)
tree7505640b2189e11c291dc628d3e4c83deb8e2158 /plugins/wd/_wd.sh
parentc78277fd8bda5fec87504469afdf121355876006 (diff)
downloadzsh-4533c7a31c737622782ce3233d2eb536f9cb4f2e.tar.gz
zsh-4533c7a31c737622782ce3233d2eb536f9cb4f2e.tar.bz2
zsh-4533c7a31c737622782ce3233d2eb536f9cb4f2e.zip
[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