Commit Graph

13 Commits

Author SHA1 Message Date
Christopher Sexton
9f0df188f4 Git 1.6 support
`git-symbolic-ref` needs to be `git symbolic-ref`
2009-09-22 14:48:55 -04:00
Christopher Sexton
a9f21b381c Improved git prompt handling
* Improved speed, the first time cd'ing into a git repo the prompt
   returns much faster (for me at least).
 * Prompt is now decorated in nested folders within a git repo. No
   longer check for the '.git' folder.
2009-09-22 14:38:24 -04:00
Christopher Sexton
ff8e99beef Adding a little documentation for the git themes 2009-09-14 13:06:47 -04:00
Christopher Sexton
85a4e30289 Added risto theme and made git.zsh themable
* git.zsh is now themable:
   * git_prompt_info() now will look in the following variables for
     formatting strings:
     * ZSH_THEME_GIT_PROMPT_PREFIX - Prefix for the prompt (before the
       branch name)
     * ZSH_THEME_GIT_PROMPT_SUFFIX - The very end of the prompt
     * ZSH_THEME_GIT_PROMPT_DIRTY - Displayed when the branch is dirty
     * ZSH_THEME_GIT_PROMPT_CLEAN - Displayed when the branch is clean
 * Updated geoffgarside, robbyrussell, and maran to work with new git
   theme
 * Added the Risto theme, which is very similar to a number of bash
   prompts, and allows me to use zsh in with out my co-workers knowing I
   have the advantage. Think of it as a ninja theme.
2009-09-14 12:42:53 -04:00
Robby Russell
09e2193ae6 Merging geoffgarside work 2009-08-31 15:09:34 -07:00
Geoff Garside
af8294d206 Move the spaces around again :P 2009-08-31 22:24:03 +01:00
Robby Russell
a26cb28de4 Only calling git symbolic-ref HEAD when we are in a .git directory 2009-08-31 13:54:50 -07:00
Geoff Garside
845eabc8cc Restructure spaces in git pieces 2009-08-31 21:51:11 +01:00
Geoff Garside
652caa6b25 Colour branch name and add dirty string 2009-08-31 21:23:59 +01:00
Geoff Garside
a9c1830462 Change dirty git string to a yello X 2009-08-31 21:23:35 +01:00
Geoff Garside
5811a6b11f Strip colours from git.zsh 2009-08-31 14:01:39 +01:00
Robby Russell
fe8f83cd78 Removing some unused git-dirty parsing code. 2009-08-30 17:46:51 -07:00
Robby Russell
5da20b9ddd Importing initial files after reorganizing stuff. 2009-08-28 11:14:17 -07:00