zim/modules
Eric Nielsen cabf368847 Add git-info module
based on the Prezto git module
[function](https://github.com/sorin-ionescu/prezto/blob/master/modules/git/functions/git-info)
and further refactored and simplified.

What changed:
- Commit format only in 'detached HEAD' state, so
  `$(coalesce "%b" "%c")` is not needed, because you only get one of
  those.
- Removed the `added`, `deleted`, `modified`, `renamed` and `unmerged`
  verbose contexts.
- `git status` is only used in verbose mode.
- In non-verbose mode, the `untracked` context is not available, and
  also untracked files are not considered for computing the `dirty`
  context. Using `git status` or checking for untracked files is
  [expensive](https://gist.github.com/sindresorhus/3898739).
2017-01-16 10:26:17 -08:00
..
archive [archive] correct unarchive aliases 2016-01-07 16:20:23 -05:00
completion [completion] update submodule 2017-01-05 22:32:33 -08:00
custom re-word custom/init.zsh 2015-12-31 10:48:03 -05:00
debug [meta] use uname -a to prevent OS conflicts 2016-09-28 03:02:10 -07:00
directory use setopt NO_CLOBBER instead of unsetopt CLOBBER 2017-01-11 22:16:07 -08:00
environment Add less or more as default PAGER 2016-12-01 23:51:59 -08:00
fasd [fasd] add initial fasd support 2016-03-27 18:45:05 -04:00
git [git] fix 'ggL' alias typo 2016-09-28 04:32:23 -07:00
git-info Add git-info module 2017-01-16 10:26:17 -08:00
history use consistent variable style 2015-12-19 09:48:29 -05:00
history-substring-search [substring-search] update submodule 2017-01-05 22:33:13 -08:00
input [input] Fix typo in README 2016-12-01 23:51:59 -08:00
meta [meta] zmanage: rescope usage to local variable 2016-10-25 16:06:19 -07:00
pacman [pacman] keep old packages for auru 2016-12-01 23:50:37 -08:00
prompt [prompt] pure: update submodule 2017-01-05 22:34:00 -08:00
spectrum [spectrum] add FX var check 2016-01-12 13:07:27 -05:00
ssh fix broken variable 2015-12-23 05:13:09 -05:00
syntax-highlighting [syntax-highlighting] update submodule 2017-01-05 22:36:00 -08:00
utility Add less termcap colour variables 2016-12-01 23:51:59 -08:00