summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index f35fc86..9fcd2fa 100644
--- a/install.sh
+++ b/install.sh
@@ -42,12 +42,11 @@ eval $cp_or_ln " ${PWD}/bash_aliases ~/.bash_aliases"
eval $cp_or_ln " ${PWD}/bashrc ~/.bashrc"
eval $cp_or_ln " ${PWD}/inputrc ~/.inputrc"
-
# vim
# ~/.vimrc takes priority over ~/.vim/vimrc, so remove the former first
-[ -d ~/.vim/ ] || mkdir -p ~/$VIMFILES/{undo,swap,backup,plugins}
+mkdir -p ~/$VIMFILES/{undo,swap,backup,plugins}
chmod 0700 ~/.vim/swap # swap files should only be readable by owner
eval $cp_or_ln " ${PWD}/vim/vimrc ~/$VIMFILES/vimrc"
@@ -58,7 +57,7 @@ eval $cp_or_ln " ${PWD}/vim/fun.vim ~/$VIMFILES/fun.vim"
[ -d ~/.config/git ] || mkdir -p ~/.config/git
eval $cp_or_ln " ${PWD}/git/ignore ~/.config/git/ignore"
eval $cp_or_ln " ${PWD}/git/config ~/.config/git/config"
-
+eval $cp_or_ln " ${PWD}/git/git-prompt.sh ~/.git-prompt.sh"
# done