aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitignore4
-rwxr-xr-xinstall2
2 files changed, 6 insertions, 0 deletions
diff --git a/gitignore b/gitignore
new file mode 100644
index 0000000..71f7d34
--- /dev/null
+++ b/gitignore
@@ -0,0 +1,4 @@
+# C development
+.gdbinit
+.ccls-cache/
+compile_commands.json
diff --git a/install b/install
index 47dde80..16a07a1 100755
--- a/install
+++ b/install
@@ -21,6 +21,8 @@ fi
if ask "git" "Install GIT configuration"; then
inst gitconfig ~/.gitconfig
+ inst gitignore ~/.gitignore
+ git config --global core.excludesfile ~/.gitignore
fi
if ask "gpg" "Install GPG configuration"; then