some modifs

This commit is contained in:
Adrien Luxey-Bitri 2022-10-02 18:50:51 +02:00
parent 9621159d67
commit d546f3a2c3
2 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -110,6 +110,9 @@
"scalabilité",
"latencies",
"liveness",
"accelerometer",
"geolocalization",
"dataset",
],
"close_windows_when_empty": false,
"color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme",