summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2010-06-30 20:59:12 +0200
committerGravatar Tom Willemsen2010-06-30 20:59:12 +0200
commit722c13a8fc093bc67b9be444547571d544cb79a0 (patch)
tree67ac47a4ec267f56b754134efa2a5a3b51c07dcf /install.sh
downloaddotfiles-722c13a8fc093bc67b9be444547571d544cb79a0.tar.gz
dotfiles-722c13a8fc093bc67b9be444547571d544cb79a0.zip
Switched over from dotemacs to doteverything
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100644
index 0000000..030e7a0
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,9 @@
+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/ \ No newline at end of file