summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index d4ed109..ce12503 100644
--- a/install.sh
+++ b/install.sh
@@ -17,6 +17,7 @@ ln -s ${PWD}/inputrc ~/.inputrc
# ~/.vimrc takes priority over ~/.vim/vimrc, so remove the former first
[ -d ~/.vim/ ] || mkdir -p ~/.vim/{undo,swap,backup,plugins}
+chmod 0700 ~/.vim/swap # swap files should only be readable by owner
ln -s ${PWD}/vim/vimrc ~/.vim/vimrc
ln -s ${PWD}/vim/fun.vim ~/.vim/fun.vim