legacy-dotfiles/install.sh

9 lines
223 B
Bash
Raw Normal View History

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/