diff --git a/.gitconfig b/.gitconfig index a7e5a07..c575a36 100644 --- a/.gitconfig +++ b/.gitconfig @@ -43,6 +43,7 @@ [core] editor = vim + excludesfile = ~/.gitignore_global [diff] wsErrorHighlight = all diff --git a/.gitignore_global b/.gitignore_global new file mode 100644 index 0000000..bec25cd --- /dev/null +++ b/.gitignore_global @@ -0,0 +1,6 @@ +# vim +*.swp +*.swo + +# virtualenv +.venv diff --git a/install.sh b/install.sh index bcd0cb7..56d22ff 100644 --- a/install.sh +++ b/install.sh @@ -87,7 +87,7 @@ DATETIME=$(date +%Y%m%d_%H%M) cd || exit # Symlink all the things -for TARGET in .bash_aliases .bashrc bin .gitconfig .gitmodules .hgauthors.txt .hgignore .hgrc .ideavimrc .ignore .screenrc .terminfo .tmux.conf .vim .vimrc install.sh +for TARGET in .bash_aliases .bashrc bin .gitconfig .gitignore_global .gitmodules .hgauthors.txt .hgignore .hgrc .ideavimrc .ignore .screenrc .terminfo .tmux.conf .vim .vimrc install.sh do make_link $DIR $TARGET done