From ea5e3ad709ea084b2a8825de1120fe876ef3cb16 Mon Sep 17 00:00:00 2001 From: KronikPillow Date: Thu, 1 Apr 2021 00:07:26 +0200 Subject: [PATCH] this is how you add missing empty folders upon fresh install .config/abook and .config/mpd/playlists and .cache/zsh is not created because of it abook can't create a addressbook and returns a error when launched, while ncmpcpp can't add songs to playlists as the folder doesn't exist, and zsh doesn't create history because the folder doesn't exist solved by adding a .gitignore in those folders and telling git to ignore all files in the folder except .gitignore --- .cache/.gitignore | 6 ++++++ .cache/zsh/.gitignore | 5 +++++ .config/abook/.gitignore | 5 +++++ .config/mpd/playlists/.gitignore | 5 +++++ 4 files changed, 21 insertions(+) create mode 100644 .cache/.gitignore create mode 100644 .cache/zsh/.gitignore create mode 100644 .config/abook/.gitignore create mode 100644 .config/mpd/playlists/.gitignore diff --git a/.cache/.gitignore b/.cache/.gitignore new file mode 100644 index 00000000..e20b4d99 --- /dev/null +++ b/.cache/.gitignore @@ -0,0 +1,6 @@ +# Ignore all files in this dir... +* + +# ... except for this one. +!.gitignore +!zsh diff --git a/.cache/zsh/.gitignore b/.cache/zsh/.gitignore new file mode 100644 index 00000000..668823aa --- /dev/null +++ b/.cache/zsh/.gitignore @@ -0,0 +1,5 @@ +# Ignore all files in this dir... +* + +# ... except for this one. +!.gitignore diff --git a/.config/abook/.gitignore b/.config/abook/.gitignore new file mode 100644 index 00000000..668823aa --- /dev/null +++ b/.config/abook/.gitignore @@ -0,0 +1,5 @@ +# Ignore all files in this dir... +* + +# ... except for this one. +!.gitignore diff --git a/.config/mpd/playlists/.gitignore b/.config/mpd/playlists/.gitignore new file mode 100644 index 00000000..668823aa --- /dev/null +++ b/.config/mpd/playlists/.gitignore @@ -0,0 +1,5 @@ +# Ignore all files in this dir... +* + +# ... except for this one. +!.gitignore