54ace41f3ce890f76cc455aac3aea0b10a467411

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

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.

Diff

 1diff --git a/.gitignore b/.gitignore
 2index 567cd4e4da86841ede4ec320ef7f70b791fb62a2..b2022081ae8fcdeb51e08b113e98853fc5d5d3ae 100644
 3--- a/.gitignore
 4+++ b/.gitignore
 5@@ -1,12 +1,8 @@
 6-locals.zsh
 7-log/.zsh_history
 8-projects.zsh
 9-custom
10+# custom files
11+custom/
12 !custom/plugins/example
13 !custom/example.zsh
14-*.swp
15-!custom/example.zshcache
16+
17+# temp files directories
18 cache/
19-!cache/.gitkeep
20 log/
21-!log/.gitkeep