Commit Graph

5 Commits

Author SHA1 Message Date
Andrew Janke 9f552130bd Move current_branch() from git plugin to core lib/git.zsh
Fixes #4085: core -> plugin dependency issue.
Rename it to git_current_branch for clarity that it's git-specific.
Update all plugins that were calling it to use new name.
Fix variable leaks by making more variables in lib/git.zsh local.
Have lib/git.zsh use [[ ]] instead of [ ] everywhere.
2015-12-14 20:28:37 -05:00
Piotr Solnica ce6a21c3b3 [themes/josh] Use $(current_branch) in prompt 2012-03-23 20:31:13 +01:00
Brent Faulkner 6496acf58b adding rbenv support to all the rvm themes 2012-01-23 20:42:54 -05:00
Josh Price 1582570919 Made the user_machine_size calculation generic. Pwned the function name. 2010-08-19 07:17:50 -07:00
Josh Price eb14ee1c63 Added my own theme based on pat's 2010-08-19 07:17:31 -07:00