aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/_cdg.zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/_cdg.zsh b/zsh/_cdg.zsh
new file mode 100644
index 0000000..fe7e26b
--- /dev/null
+++ b/zsh/_cdg.zsh
@@ -0,0 +1,7 @@
1#compdef cdg
2
3function _cdg() {
4 compadd -S '/' $(cd ~/git && ls -d ${words[2]}*)
5}
6
7_cdg