improved install script

This commit is contained in:
Adrien Luxey 2019-02-08 11:39:22 +01:00
parent d0e4738275
commit f7567f3a27
2 changed files with 4 additions and 2 deletions

View file

@ -37,7 +37,9 @@ function syncDotfiles {
ln -s $DOTDIR/tmux.conf $HOME/.tmux.conf ln -s $DOTDIR/tmux.conf $HOME/.tmux.conf
ln -s $DOTDIR/vim $HOME/.vim ln -s $DOTDIR/vim $HOME/.vim
ln -s $DOTDIR/tmux $HOME/.tmux ln -s $DOTDIR/tmux $HOME/.tmux
ln -s $DOTDIR/sublime $HOME/.config/sublime-text-3/Packages/User if [ -d "$HOME/.config/sublime-text-3" ]; then
ln -s $DOTDIR/sublime $HOME/.config/sublime-text-3/Packages/User
fi
} }
function installDependencies { function installDependencies {

2
zshrc
View file

@ -69,7 +69,7 @@ export LANG=fr_FR.UTF-8
export EDITOR='vim' export EDITOR='vim'
# Hide username by setting DEFAULT_USER # Hide username by setting DEFAULT_USER
export DEFAULT_USER=adrien export DEFAULT_USER=$USER
# if [[ -n $SSH_CONNECTION ]]; then # if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim' # export EDITOR='vim'