legacy-dotfiles/install.sh
2010-06-30 20:59:12 +02:00

9 lines
No EOL
223 B
Bash

INSTALL_BASEFILE=`readlink -f $0`
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`
ln -sf $INSTALL_BASEDIR/.emacs $HOME/.emacs
if [ -d $HOME/.emacs.d ]; then
rm -rf $HOME/.emacs.d
fi
ln -sf $INSTALL_BASEDIR/.emacs.d $HOME/