Commit graph

14 commits

Author SHA1 Message Date
Robby Russell 8dd06e3c73 Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options 2009-09-23 07:43:36 -07:00
Christopher Sexton ff076cae5f Git 1.6 support
`git-symbolic-ref` needs to be `git symbolic-ref`
2009-09-22 14:48:55 -04:00
Christopher Sexton dd18924536 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 dfe962246e Adding a little documentation for the git themes 2009-09-14 13:06:47 -04:00
Christopher Sexton 6f001b9b12 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 00cbdd6ed9 Merging geoffgarside work 2009-08-31 15:09:34 -07:00
Geoff Garside a165a6a078 Move the spaces around again :P 2009-08-31 22:24:03 +01:00
Robby Russell 71bc81b14a Only calling git symbolic-ref HEAD when we are in a .git directory 2009-08-31 13:54:50 -07:00
Geoff Garside 5d51e6e1ef Restructure spaces in git pieces 2009-08-31 21:51:11 +01:00
Geoff Garside fee63f0db8 Colour branch name and add dirty string 2009-08-31 21:23:59 +01:00
Geoff Garside 5f039558a3 Change dirty git string to a yello X 2009-08-31 21:23:35 +01:00
Geoff Garside be966214c9 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