Commit Graph
6 Commits
Author SHA1 Message Date
Michele Bologna 68b792bbb6 Change to use omz git_prompt* functions
Removed references for official git __git_ps1() functions.
Change to use omz function git_prompt* functions like:
- git_prompt_info() -> branch name
- git_prompt_status() -> check if untracked, modified, added,
  stashed file are in the current git repo
- git_remote_status() -> check if current repo is ahead, behind,
  or diverged.
These functions returns string automatically added to your PS1;
these are customizable via exporting ZSH_THEME_GIT_PROMPT*
2015-06-16 10:56:19 +02:00
Michele Bologna 01e355fb1e In addition to the already existing variables ZSH_THEME_GIT_PROMPT for behind,
ahead and diverged remote, I added ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE.
2015-06-15 10:15:22 +02:00
Michele Bolognaandncanceill 81eec406c8 * Added header with help and information
* Moved git information to left prompt, with
  support for:
    * +ZSH_THEME_GIT_PROMPT_UNTRACKED, MODIFIED,
    STASHED, ADDED, UPSTREAM STATUS
    (if applicable)
* Removed right prompt
* Refactored following Google's guidelines for
  scripts [ http://goo.gl/oJSXH2 ]
    * Using local variables where applicable
2015-06-11 21:13:48 +02:00
Michele Bolognaandncanceill 1a4dc0d2db Renamed 'ss' alias to 'sstat' (to avoid collision with /bin/ss). 2015-06-11 21:10:38 +02:00
Michele Bologna 0b6e735885 added comment for auto-generated hostname color 2013-03-05 23:01:00 +01:00
Michele Bologna c2d42f5a90 added michelebologna theme 2013-03-05 22:50:27 +01:00