Commit Graph
11 Commits
Author SHA1 Message Date
Michele Bologna 12e99b5334 fix indentation 2015-09-23 11:14:14 +02:00
Michele Bologna 5323954c98 Uniform git prompt equal remote
Uniform git prompt equal remote to all others prompts, setting the correct symbol
(if applicable) to $git_remote_status, instead of echoing it.

It also solves the problem pointed out in #3911
2015-09-23 10:52:24 +02:00
Michele Bologna 6170fa41d9 Added fedora plugin, based on dnf/yum plugin 2015-09-09 11:42:56 +02:00
Michele Bologna 9a7b2d7ffb Moved comments and credits from source to README 2015-09-03 08:55:03 +02:00
Michele Bologna 6d7c39a2ae Added fancy-ctrl-z plugin
Use Ctrl-Z to switch back to Vim
I frequently need to execute random command in my shell. To achieve it I pause
Vim by pressing Ctrl-z, type command and press fg<Enter> to switch back to Vim.

The fg part really hurts me. I just wanted to hit Ctrl-z once again to get back
to Vim.
I could not find a solution, so I developed one on my own that works wonderfully
with ZSH.

Source: http://sheerun.net/2014/03/21/how-to-boost-your-vim-productivity/
2015-09-02 21:00:36 +02:00
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