aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2021-06-27 12:46:02 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2021-06-27 12:46:02 +0800
commit84785914a415b28a8b600157522f6963dd40d5ef (patch)
treeb30645fb7cb9e8ea17650642a1244285865f2564 /zsh
parent134ee092ba3b8d00e46884a5cd422c2bc5dc33eb (diff)
update
Diffstat (limited to 'zsh')
-rw-r--r--zsh/_cdg.zsh2
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
3function _cdg() { 3function _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