Commit graph

13 commits

Author SHA1 Message Date
Marc Cornellà 1b01496c21
fix(bira): fix color bleed in user_host prompt section (#10505)
Fixes #10505
2021-12-13 14:42:57 +01:00
Romain Failliot 137b45672d
feat(bira): improve theme and add support for mercurial (#6631)
Added the red dot (instead of the default `*`) if the branch is dirty.

The bira theme only supported git, now it supports mercurial as well. It
needed ito call `hg_prompt_info` and the `ZSH_THEME_HG_PROMPT_`
variables.

Closes #6631
2021-12-13 10:50:18 +01:00
Shriniwas Sharma f7d9dae12e bira: move virtualenv information (#8266) 2019-10-16 09:28:19 +02: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
KillWolfVlad ebee94b8cf bira: remove extra spaces (#7767) 2019-04-16 21:54:09 +02:00
djr-jsr 8a94013f37 bira: add virtualenv support in prompt
Fixes #7483
Closes #4973
2019-04-09 15:48:00 +02:00
Janosch Schwalm 19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
Elias Fröhner b4b55fa502 Remove wrong whitespace in bira theme (#5985)
The whitespace in line 13 creates a double whitespace when combined with line 24. Therefore 2 whitespaces appear between ${user_host} and ${current_dir}.
2017-03-30 20:46:25 +02:00
Jocelyn Thode cff228e342 Update bira theme (#4954)
* Add '#' instead of '$' when in root
* Make return code bold
2016-10-15 14:02:01 +02:00
L.C. Karssen a67dfae72b Set colour for user@hostname to red if we're root (or sudo) in the bira theme. 2016-01-13 10:00:32 +01:00
Brent Faulkner 6496acf58b adding rbenv support to all the rvm themes 2012-01-23 20:42:54 -05:00
Corey Donohoe 5a957c4d2e support non-standard rvm install prefixes 2011-04-21 15:53:44 -07:00
Ubiratan Pires Alberton 72d7c0363c Added my own theme, based on macovsky-ruby and funky 2010-11-14 10:21:28 -02:00