summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-03-26 08:27:39 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-03-26 08:27:39 +0200
commitc5f5bb336a012484aaa3e1cbf8d2aca2c960e1bc (patch)
tree458904f51f85ea19e7e3aeb9abde5915ad9bad57 /install
parentcaada1036793d9d131840ce65b488403b1d1963f (diff)
downloadvim-c5f5bb336a012484aaa3e1cbf8d2aca2c960e1bc.zip
vim-c5f5bb336a012484aaa3e1cbf8d2aca2c960e1bc.tar.gz
add install
Diffstat (limited to 'install')
-rwxr-xr-xinstall7
1 files changed, 7 insertions, 0 deletions
diff --git a/install b/install
new file mode 100755
index 0000000..29ae5f6
--- /dev/null
+++ b/install
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+DIR=$(readlink -f $(dirname $0))
+pushd $HOME >/dev/null
+ln -sf $DIR .vim
+ln -sf $DIR/vimrc .vimrc
+popd $HOME >/dev/null