mirror of https://github.com/nirenjan/dotfiles.git
Install git config before initializing submodules
parent
172633dd5f
commit
b0d1e83e88
|
@ -1,3 +1,3 @@
|
|||
[submodule "scripts"]
|
||||
path = scripts
|
||||
url = git@github.com:nirenjan/scripts
|
||||
url = my:scripts
|
||||
|
|
35
install
35
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
|
||||
#######################################################################
|
||||
|
|
Loading…
Reference in New Issue