diff --git a/zsh/gclone.zsh b/zsh/gclone.zsh index 016778d..097eb2f 100644 --- a/zsh/gclone.zsh +++ b/zsh/gclone.zsh @@ -94,6 +94,10 @@ if [ -d "$GCLONE_PATH" ]; then fi } + cdgclone() { + gclone $1 && cdg $1 + } + _cdg() { _arguments "1: :($(_cdg_existing_dirs | rev | cut -d '/' -f 1 | rev))" }