diff --git a/.gitmodules b/.gitmodules index dd239c3..859b21f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "scripts"] path = scripts - url = git@github.com:nirenjan/scripts + url = my:scripts diff --git a/install b/install index 022c41d..1983353 100755 --- a/install +++ b/install @@ -129,24 +129,6 @@ DF_PATH=$(pwd) PRINT_PATH=$(echo $DF_PATH | sed "s:^$HOME:~:") echo Installing dotfiles from $PRINT_PATH -####################################################################### -# Initialize submodules -####################################################################### -git submodule init -git submodule update - -####################################################################### -# Install scripts -####################################################################### - -# Create ~/bin folder -mkfolder ~/bin - -# Install scripts -lnfile scripts/stardate ~/bin/ -lnfile scripts/settitle ~/bin/ -lnfile scripts/smartwd ~/bin/ - ####################################################################### # Install git configuration ####################################################################### @@ -170,6 +152,23 @@ then https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh fi +####################################################################### +# Initialize submodules +####################################################################### +git submodule update --init --recursive + +####################################################################### +# Install scripts +####################################################################### + +# Create ~/bin folder +mkfolder ~/bin + +# Install scripts +lnfile scripts/stardate ~/bin/ +lnfile scripts/settitle ~/bin/ +lnfile scripts/smartwd ~/bin/ + ####################################################################### # Install vimrc & plugins #######################################################################