diff options
author | zghember <zghpku@gmail.com> | 2014-12-15 00:23:34 +0800 |
---|---|---|
committer | zghember <zghpku@gmail.com> | 2014-12-15 00:23:34 +0800 |
commit | 6fd0b73e9aba568640005798f737cd73ad0bfdf4 (patch) | |
tree | 22f3654e0c00ffd1cb9c3c05ca5d8bffa190cc1f /plugins/wd/_wd.sh | |
parent | 6f70d288cc4625142413227109bf1eeac7e2a180 (diff) | |
parent | 141c2e593401f245a9f9bb0799ada8bf14b677d7 (diff) | |
download | zsh-6fd0b73e9aba568640005798f737cd73ad0bfdf4.tar.gz zsh-6fd0b73e9aba568640005798f737cd73ad0bfdf4.tar.bz2 zsh-6fd0b73e9aba568640005798f737cd73ad0bfdf4.zip |
Merge commit '141c2e593401f245a9f9bb0799ada8bf14b677d7'
Diffstat (limited to 'plugins/wd/_wd.sh')
-rw-r--r-- | plugins/wd/_wd.sh | 6 |
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 |