summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
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