1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 14:20:08 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Felipe Gallois
76e541a3fe
feat(gallois): big rewrite to gallois theme (#11867) 2023-09-06 11:18:36 +02:00
Marc Cornellà
c52e646bb7
refactor(gallois): clean up theme and fix typos 2021-01-31 19:55:13 +01:00
Andrew Janke
299cd4777a Themes: switch to using ruby_prompt_info()
Changes themes displaying RVM or other Ruby version info to use the central
ruby_prompt_info function. This supports more Ruby versioning mechanisms,
reduces copy-and-paste code, and avoids "zsh: no such file or directory: rvm-prompt"
when run on machines that do not have RVM installed.

Changes the prefix/suffix variable names to ZSH_THEME_RUBY_PROMPT_PREFIX and
ZSH_THEME_RUBY_PROMPT_SUFFIX, since they apply to all Ruby versioning mechanisms,
not just RVM.

Allows empty ZSH_THEME_RUBY_PROMPT_PREFIX and ZSH_THEME_RUBY_PROMPT_SUFFIX.
2019-05-08 08:45:34 +02:00
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
Daniel Farrell
b2ce306c4f Simplified gallois RPS1 setup using some helpful scripts 2014-03-25 23:37:28 -04:00
Daniel Farrell
3976b93f39 Fixed which output at each new shell creation 2014-03-23 15:59:35 -04:00
Kory Prince
d3babe0d79 Don't show useless '[]' when chruby_prompt_info is empty 2014-03-17 11:02:47 -05:00
Konstantin Haase
f6bb74e452 add chruby info to gallois theme 2013-12-27 14:25:06 +01:00
Maxime Chaisse-Leal
4dbe4378db Added WIP alert to the gallois' theme 2013-09-18 21:56:10 +02:00
Brent Faulkner
6496acf58b adding rbenv support to all the rvm themes 2012-01-23 20:42:54 -05:00
Ben Lumley
bf2c55ac5a Gallois theme - made the git branch/status show for those of us without rvm 2011-08-16 17:23:33 +01:00
Felipe Gallois
07cee28e31 added custom theme, based on eastwood 2011-04-23 17:31:15 -03:00