From 375cac1a263adf0d6ac8a12289eb3f60466833a6 Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 14 May 2019 12:20:35 +0200 Subject: [PATCH] Update install.sh --- install.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 3da8085..661770b 100644 --- a/install.sh +++ b/install.sh @@ -9,9 +9,9 @@ if [ ! -d "$BASE" ]; then git clone git@github.com:sundowndev/dotfiles.git $BASE else echo "==> dotfiles already installed" - echo "==> running git pull" + echo "==> running git pull origin master" cd $BASE - git pull + git pull origin master fi # links @@ -20,7 +20,14 @@ ln -fs ${BASE}/bash_profile ${HOME}/.bash_profile ln -fs ${BASE}/bash_aliases ${HOME}/.bash_aliases ln -fs ${BASE}/zshrc ${HOME}/.zshrc ln -fs ${BASE}/gitignore ${HOME}/.gitignore -ln -fs ${BASE}/hyper.js ${HOME}/.hyper.js + +if [ ! -f "${HOME}/.hyper.js" ]; then + ln -fs ${BASE}/hyper.js ${HOME}/.hyper.js +fi + +if [ ! -f "${HOME}/.config/Code/User/settings.json" ]; then + ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/Code/User/settings.json +fi git config --global user.email "raphael@crvx.fr" git config --global user.name "sundowndev"