legacy-dotfiles/install.sh

12 lines
295 B
Bash
Raw Normal View History

INSTALL_BASEFILE=`readlink -f $0`
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`
# EMACS
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/
# XDEFAULTS
ln -sf $INSTALL_BASEDIR/.Xdefaults $HOME/.Xdefaults