From 8956cd7280d01373a7db90cf1d57dc4872cd9e2c Mon Sep 17 00:00:00 2001
From: Konstantin Demin <rockdrilla@gmail.com>
Date: Thu, 19 Dec 2024 20:49:08 +0300
Subject: [PATCH] dotfiles: separate gitignore for vcs

---
 .config/dotfiles/gitignore     |  1 +
 .config/dotfiles/gitignore.vcs | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 .config/dotfiles/gitignore.vcs

diff --git a/.config/dotfiles/gitignore b/.config/dotfiles/gitignore
index 5cd5e13..d6d9b7e 100644
--- a/.config/dotfiles/gitignore
+++ b/.config/dotfiles/gitignore
@@ -7,6 +7,7 @@
 !/.config/dotfiles/gen-gitignore.sh
 !/.config/dotfiles/gitattributes
 !/.config/dotfiles/gitignore
+!/.config/dotfiles/gitignore.vcs
 !/.config/dotfiles/install.sh
 !/.config/dotfiles/scripts/.keep
 !/.config/dotfiles/woodpecker.yml
diff --git a/.config/dotfiles/gitignore.vcs b/.config/dotfiles/gitignore.vcs
new file mode 100644
index 0000000..748be97
--- /dev/null
+++ b/.config/dotfiles/gitignore.vcs
@@ -0,0 +1,18 @@
+!/.cache/zsh/compcache/.keep
+!/.cache/zsh/completion/.keep
+!/.cache/zsh/compzwc/.keep
+!/.cache/zsh/ssh/.keep
+!/.config/zsh/local/.keep
+!/.config/zsh/local/completion/.keep
+!/.config/zsh/local/env.zsh.example
+!/.config/zsh/var/.keep
+
+/.cache/zsh/compcache/*
+/.cache/zsh/compdump
+/.cache/zsh/completion/*
+/.cache/zsh/compzwc/*
+/.cache/zsh/ssh/*
+/.config/zsh/**/*.zwc
+/.config/zsh/local.zsh
+/.config/zsh/local/*
+/.config/zsh/var/*