some modifs
This commit is contained in:
parent
9621159d67
commit
d546f3a2c3
2 changed files with 10 additions and 2 deletions
|
@ -39,6 +39,8 @@ function syncDotfiles {
|
||||||
ln -s $DOTDIR/tmux $HOME/.tmux
|
ln -s $DOTDIR/tmux $HOME/.tmux
|
||||||
if [ -d "$HOME/.config/sublime-text-3" ]; then
|
if [ -d "$HOME/.config/sublime-text-3" ]; then
|
||||||
ln -s $DOTDIR/sublime $HOME/.config/sublime-text-3/Packages/User
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +49,7 @@ function installDependencies {
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
sudo apt update > /dev/null 2>&1
|
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
|
# Install Sublime Text
|
||||||
if [[ ${INSTALL_SUBLIME} -eq 1 ]]; then
|
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
|
git clone https://github.com/bhilburn/powerlevel9k.git $HOME/.oh-my-zsh/custom/themes/powerlevel9k > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
# Make ZSH is the current SHELL
|
||||||
|
echo $SHELL | grep zsh > /dev/null || chsh -s $(which zsh)
|
||||||
|
|
||||||
|
|
||||||
echo "Pulling git submodules..."
|
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
|
# Set ZSH as default shell
|
||||||
if [ ! "$SHELL" = "$(which zsh)" ]; then
|
if [ ! "$SHELL" = "$(which zsh)" ]; then
|
||||||
|
|
|
@ -110,6 +110,9 @@
|
||||||
"scalabilité",
|
"scalabilité",
|
||||||
"latencies",
|
"latencies",
|
||||||
"liveness",
|
"liveness",
|
||||||
|
"accelerometer",
|
||||||
|
"geolocalization",
|
||||||
|
"dataset",
|
||||||
],
|
],
|
||||||
"close_windows_when_empty": false,
|
"close_windows_when_empty": false,
|
||||||
"color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme",
|
"color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme",
|
||||||
|
|
Loading…
Reference in a new issue