From c8fc1d227708841d19b997818a48f7d5a68a4273 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 27 May 2019 14:02:38 +0200 Subject: [PATCH] VSCode or VSCodium --- install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8f32b4c..0140edf 100644 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ else git pull origin master fi -# links +# shell related dotfiles ln -fs ${BASE}/bashrc ${HOME}/.bashrc ln -fs ${BASE}/bash_profile ${HOME}/.bash_profile ln -fs ${BASE}/bash_aliases ${HOME}/.bash_aliases @@ -25,10 +25,14 @@ if [ -f "${HOME}/.hyper.js" ]; then ln -fs ${BASE}/hyper.js ${HOME}/.hyper.js fi -if [ -d "${HOME}/.config/VSCodium/User" ]; then +# VSCode or VSCodium +if [ -d "${HOME}/.config/Code/User" ]; then + ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/Code/User/settings.json +elif [ -d "${HOME}/.config/VSCodium/User" ]; then ln -fs ${BASE}/vscode-settings.json ${HOME}/.config/VSCodium/User/settings.json fi +# Git user config git config --global user.email "raphael@crvx.fr" git config --global user.name "sundowndev" @@ -37,7 +41,6 @@ git config --global user.name "sundowndev" #curl --insecure -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim #mv -v ~/.vimrc ~/.vimrc.old 2> /dev/null #ln -sf $BASE/vimrc ~/.vimrc - #vim +PlugInstall +qall echo "==> script executed"