Add submodule stuff after cloning repo.
Remove other unneeded comment.
This commit is contained in:
parent
c607c9ed58
commit
e52d0bb06c
@ -29,8 +29,6 @@ changeshell() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
linkfiles() {
|
linkfiles() {
|
||||||
#find ~/dev/dotfiles -type f -name ".*" -execdir ln -s -f {}
|
|
||||||
# --target-directory=$HOME \; # removed until I can figure out the issue
|
|
||||||
ln -sf ~/dotfiles/.zshrc $HOME/
|
ln -sf ~/dotfiles/.zshrc $HOME/
|
||||||
ln -sf ~/dotfiles/.vimrc $HOME/
|
ln -sf ~/dotfiles/.vimrc $HOME/
|
||||||
ln -sf ~/dotfiles/.tmux.conf $HOME/
|
ln -sf ~/dotfiles/.tmux.conf $HOME/
|
||||||
@ -47,7 +45,7 @@ getdotfiles() {
|
|||||||
linkfiles
|
linkfiles
|
||||||
else
|
else
|
||||||
cd
|
cd
|
||||||
git clone $repo
|
git clone $repo && cd ~/dotfiles && git submodule init && git submodule update
|
||||||
linkfiles
|
linkfiles
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user