From d546f3a2c321fda7e1b891c4508767776f800563 Mon Sep 17 00:00:00 2001 From: Adrien Luxey-Bitri Date: Sun, 2 Oct 2022 18:50:51 +0200 Subject: [PATCH] some modifs --- install.sh | 9 +++++++-- sublime/Preferences.sublime-settings | 3 +++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 95c6eb5..7cf5d88 100755 --- a/install.sh +++ b/install.sh @@ -39,6 +39,8 @@ function syncDotfiles { ln -s $DOTDIR/tmux $HOME/.tmux if [ -d "$HOME/.config/sublime-text-3" ]; then ln -s $DOTDIR/sublime $HOME/.config/sublime-text-3/Packages/User + elif [ -d "$HOME/.config/sublime-text" ]; then + ln -s $DOTDIR/sublime $HOME/.config/sublime-text/Packages/User fi } @@ -47,7 +49,7 @@ function installDependencies { # Dependencies sudo apt update > /dev/null 2>&1 - sudo apt install -y apt-transport-https curl zsh fonts-powerline autojump > /dev/null 2>&1 + sudo apt install -y apt-transport-https curl zsh tmux autojump fonts-firacode fonts-powerline > /dev/null 2>&1 # Install Sublime Text if [[ ${INSTALL_SUBLIME} -eq 1 ]]; then @@ -68,9 +70,12 @@ function installDependencies { git clone https://github.com/bhilburn/powerlevel9k.git $HOME/.oh-my-zsh/custom/themes/powerlevel9k > /dev/null 2>&1 fi fi + # Make ZSH is the current SHELL + echo $SHELL | grep zsh > /dev/null || chsh -s $(which zsh) + echo "Pulling git submodules..." - cd $DOTDIR && git submodule update --init >> /dev/null 2>&1 + cd $DOTDIR && (git submodule update --init >> /dev/null 2>&1) || echo "'git submobule update --init' failed, is your SSH key available on GitHub?" && exit -1; # Set ZSH as default shell if [ ! "$SHELL" = "$(which zsh)" ]; then diff --git a/sublime/Preferences.sublime-settings b/sublime/Preferences.sublime-settings index 33aec59..2e990a4 100644 --- a/sublime/Preferences.sublime-settings +++ b/sublime/Preferences.sublime-settings @@ -110,6 +110,9 @@ "scalabilité", "latencies", "liveness", + "accelerometer", + "geolocalization", + "dataset", ], "close_windows_when_empty": false, "color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme",