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
This commit is contained in:
KronikPillow 2021-04-01 00:07:26 +02:00
parent 53b2605088
commit ea5e3ad709
No known key found for this signature in database
GPG Key ID: E4A0CE24DAD6B3FE
4 changed files with 21 additions and 0 deletions

6
.cache/.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
# Ignore all files in this dir...
*
# ... except for this one.
!.gitignore
!zsh

5
.cache/zsh/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
# Ignore all files in this dir...
*
# ... except for this one.
!.gitignore

5
.config/abook/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
# Ignore all files in this dir...
*
# ... except for this one.
!.gitignore

5
.config/mpd/playlists/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
# Ignore all files in this dir...
*
# ... except for this one.
!.gitignore