Add toolbox and work aliases

This commit is contained in:
Quentin Godefroid 2017-12-18 12:54:31 +01:00
parent c5c1de74c9
commit e71c2906af
4 changed files with 12 additions and 2 deletions

3
bin/initenv Normal file → Executable file
View file

@ -3,6 +3,9 @@
for _FILE in .bashrc bin .vim .vimrc .zshrc
do
if [ ! -L $HOME/$_FILE ]; then
if [[ -f $HOME/$_FILE ]]; then
mv $HOME/$_FILE $HOME/$_FILE.bak
fi
ln -s "$HOME/dotfiles/$_FILE" "$HOME/$_FILE"
fi
done