diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-06-27 12:46:02 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-06-27 12:46:02 +0800 |
commit | 84785914a415b28a8b600157522f6963dd40d5ef (patch) | |
tree | b30645fb7cb9e8ea17650642a1244285865f2564 /zsh/_cdg.zsh | |
parent | 134ee092ba3b8d00e46884a5cd422c2bc5dc33eb (diff) |
update
Diffstat (limited to 'zsh/_cdg.zsh')
-rw-r--r-- | zsh/_cdg.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/_cdg.zsh b/zsh/_cdg.zsh index fe7e26b..ac983bf 100644 --- a/zsh/_cdg.zsh +++ b/zsh/_cdg.zsh | |||
@@ -1,7 +1,7 @@ | |||
1 | #compdef cdg | 1 | #compdef cdg |
2 | 2 | ||
3 | function _cdg() { | 3 | function _cdg() { |
4 | compadd -S '/' $(cd ~/git && ls -d ${words[2]}*) | 4 | compadd -S '' $(cd ~/git && ls -d ${words[2]}*/) |
5 | } | 5 | } |
6 | 6 | ||
7 | _cdg | 7 | _cdg |