From 3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Sat, 25 Jun 2022 11:36:24 -0500 Subject: Add git-prompt.sh. Some distros require it E.g., Amazon Linux 2 --- install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'install.sh') 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 -- cgit v1.2.3