1
0
Fork 0
mirror of synced 2024-12-24 06:53:20 -05:00
zimfw/modules
Eric Nielsen d84587e1a5 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).
2016-12-02 17:20:13 -05:00
..
archive [archive] correct unarchive aliases 2016-01-07 16:20:23 -05:00
completion [completion] update submodule 2016-12-01 23:51:59 -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 consistent variable style 2015-12-19 09:48:29 -05: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 2016-12-02 17:20:13 -05:00
history use consistent variable style 2015-12-19 09:48:29 -05:00
history-substring-search [substring-search] update submodule 2016-10-25 16:16:30 -07: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 2016-12-01 23:51:59 -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 2016-12-01 23:51:59 -08:00
utility Add less termcap colour variables 2016-12-01 23:51:59 -08:00