1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-29 05:03:52 +08:00

Tidy up gitignore file

- `custom/example.zshcache` doesn't exist anymore: it's safe to
  ignore.

- `*.swp` files are ignored for no apparent reason. There's nothing
  in the codebase that generates them. This was introduced by @lepht
  in commit f78218f6 on 24 May 2011.

- Files `locals.zsh` and `projects.zsh` are no longer supported for
  putting custom configuration there.

  This is since commit 8debd09 where files were put in a lib/
  folder, but failed to modify the .gitignore file as well.

  The init script was modified as well, so those files aren't even
  being sourced: they are safe to be deleted or ported into a custom
  script.
This commit is contained in:
Marc Cornellà 2015-08-01 14:47:36 +02:00
parent 66e7e7d9ca
commit 54ace41f3c

12
.gitignore vendored
View File

@ -1,12 +1,8 @@
locals.zsh # custom files
log/.zsh_history custom/
projects.zsh
custom
!custom/plugins/example !custom/plugins/example
!custom/example.zsh !custom/example.zsh
*.swp
!custom/example.zshcache # temp files directories
cache/ cache/
!cache/.gitkeep
log/ log/
!log/.gitkeep