tweak: prep gitignore for v3

- Ignore generated profiles
- Ignore /{init,config,packages}.el, in case the user wants to use
  $EMACSDIR and their $DOOMDIR.
- Cast a wider net for auto-generated files (usually made when launching
  sandboxes, but this will happen less as the sandbox develops).
This commit is contained in:
Henrik Lissner 2022-07-27 13:33:34 +02:00
parent 2680573eda
commit bd989d16f0
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

71
.gitignore vendored
View file

@ -1,38 +1,55 @@
.DS_Store # machine generated doom profiles or metadata
/profiles/*
!/profiles/*.org
!/profiles/*@static/
/.local*/
# possible user config files
/profiles.el
/init.el
/config.el
/packages.el
# generated by elisp packages in sub-directories
*~ *~
*.*~ *.*~
\#* \#*
.\#* .\#*
.local/
.extension/
*.cache* *.cache*
*.log *.log
/modules/private
test/.local*/
test/result
# emacs tempfiles that shouldn't be there
.dap-breakpoints
.org-id-locations
.tern-port
.yas-compiled-snippets.el
auto-save-list/
cask/
ede-projects.el
elpa/
eln-cache/
network-security.data
places
semanticdb
server/
smex-items
tramp
transient/
var/
# compiled files
*.elc *.elc
*.eln
*.lib *.lib
*.fas *.fas
*.dat *.dat
*.eld *.eld
*.rel
*_archive
*_flymake.*
.dap-breakpoints
.emacs.desktop
.emacs.desktop.lock
.org-id-locations
.projectile
.tern-port
.yas-compiled-snippets.el
flycheck_*.el
# generated by elisp packages at root
/.local/
/.cask/
/auto/
/auto-save-list/
/cask/
/ede-projects.el
/eln-cache/
/elpa/
/eshell/
/network-security.data
/places
/semanticdb
/server/
/smex-items
/tramp
/transient/
/var/