From 438cadb3aefcfaea05549ace3ef52716b1bc8558 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 6 Jan 2018 15:12:41 +0000 Subject: [PATCH] Clone recursive in `gh` helper --- modules/shell/files/applications.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/shell/files/applications.sh b/modules/shell/files/applications.sh index 28a0461..63a3028 100644 --- a/modules/shell/files/applications.sh +++ b/modules/shell/files/applications.sh @@ -15,9 +15,9 @@ alias gs="git status" alias gd="git diff" gh() { if [ $# -eq 1 ]; then - command git clone git@github.com:RealOrangeOne/${1} && cd ${1} + command git clone git@github.com:RealOrangeOne/${1} --recursive && cd ${1} else - command git clone git@github.com:${1}/${2} && cd ${2} + command git clone git@github.com:${1}/${2} --recursive && cd ${2} fi }