From 868cf2651af8386807371e3130c2e416cf50e4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Fri, 30 Oct 2020 23:47:03 +0100 Subject: [PATCH] add global ignore-file to ignore helptags from vim --- .gitconfig | 1 + .gitignore_global | 1 + functions.sh | 1 + 3 files changed, 3 insertions(+) create mode 100644 .gitignore_global diff --git a/.gitconfig b/.gitconfig index a836a5f..9d1a49d 100755 --- a/.gitconfig +++ b/.gitconfig @@ -13,6 +13,7 @@ default = simple [core] editor = vim + excludesFile = ~/.gitignore_global [diff] submodule = log [alias] diff --git a/.gitignore_global b/.gitignore_global new file mode 100644 index 0000000..6e92f57 --- /dev/null +++ b/.gitignore_global @@ -0,0 +1 @@ +tags diff --git a/functions.sh b/functions.sh index 2ff1b81..fb398cd 100755 --- a/functions.sh +++ b/functions.sh @@ -52,6 +52,7 @@ create_symlinks() { ln -sf "${MYSHELLCONFIG_BASE}/vimrc" ~/.vimrc ln -sf "${MYSHELLCONFIG_BASE}/vim" ~/.vim ln -sf "${MYSHELLCONFIG_BASE}/.gitconfig" ~/.gitconfig + ln -sf "${MYSHELLCONFIG_BASE}/.gitignore_global" ~/.gitignore_global #ln -sf "${MYSHELLCONFIG_BASE}/bashrc_add" ~/bashrc_add ln -sf "${MYSHELLCONFIG_BASE}/tmux" ~/.tmux ln -sf "${MYSHELLCONFIG_BASE}/tmux/tmux.conf" ~/.tmux.conf