Commit Graph

227 Commits

Author SHA1 Message Date
Justin Hileman
08f8217cbe [bobthefish] always use command hg 2014-11-28 19:41:54 +11:00
Justin Hileman
264b7cea78 [bobthefish] Use consistent sed delimiters. 2014-11-28 19:41:54 +11:00
Justin Hileman
1818ce9922 [bobthefish] Standardize stderr redirects. 2014-11-28 19:41:54 +11:00
Justin Hileman
3bdbfe8ee9 [bobthefish] much cleaner git "ahead" flag. 2014-11-28 19:41:54 +11:00
Justin Hileman
5ab89f663c [bobthefish] Add support for rbenv and RVM 2014-11-28 19:41:54 +11:00
Justin Hileman
52e7b2bae7 [bobthefish] Simplify bold segments.
Add support for --bold (and --underline) to the __bobthefish_start_segment function.
2014-11-28 19:41:53 +11:00
Justin Hileman
abed16f3aa [bobthefish] Better (faster, stronger) SCM segments
* Show the closest parent repo if $PWD is in both an hg and git repo.
 * Only find the repo root once per SCM, not two or three times :)
2014-11-28 19:41:53 +11:00
Justin Hileman
623d162f2b [bobthefish] More virtualenv tweaks
* Inline a one-line method that's called one place
 * Make sure __bobthecow_virtualenv_python_version doesn't fail if python isn't a symlink.
 * Add a visual segment indicator after python version glyph.
2014-11-28 19:41:53 +11:00
Justin Hileman
8ac71fb43f [bobthefish] Update virtualenv segment colors…
remove some additional unnecessary complication.
2014-11-28 19:41:53 +11:00
Justin Hileman
ea5640886b No need to save $RETVAL, $status works just fine 2014-11-20 14:02:02 -08:00
Justin Hileman
e5a6915b4e [bobthefish] More consistent project dir func names 2014-11-20 14:02:02 -08:00
Justin Hileman
7eaf74fa83 [bobthefish] DRY: we don't need two pwd-relative-to-project funcs 2014-11-20 14:02:02 -08:00
Justin Hileman
28609a1f76 [bobthefish] Switch git/hg priority in prompt
Add TODO to do this right :P
2014-11-20 14:02:01 -08:00
Justin Hileman
c1531ecfea [bobthefish] Add ☿ (mercury) glyph to hg prompt
This makes it easier (possible?) to distinguish between hg and git repos at a glance.
2014-11-20 14:01:21 -08:00
Justin Hileman
5867fde992 [bobthefish] Don't break when hg/git not found 2014-11-20 14:01:21 -08:00
Justin Hileman
510fffbd49 [bobthefish] Use hg root instead of hg stat for in_hg 2014-11-20 14:01:21 -08:00
Denis Kolesnikov
8f24d187f3 Added bookmark support to bobthefish theme mercurial prompt 2014-11-20 14:01:21 -08:00
Denis Kolesnikov
0af0d97cfd Added simple mercurial pormpt to bobthefish theme 2014-11-20 14:01:21 -08:00
Roman Inflianskas
0ab4077530 bobthefish: virtualfish: fix typo 2014-11-21 08:58:22 +11:00
Roman Inflianskas
5bde9565fa bobthefish: virtualfish: change color to blue 2014-11-21 08:58:21 +11:00
Roman Inflianskas
2ca04ca652 bobthefish: virtualfish: fix superscript 2014-11-21 08:58:21 +11:00
Roman Inflianskas
b80f893796 bobthefish: virtualfish: move at the front 2014-11-21 08:58:21 +11:00
Roman Inflianskas
cdbeffc30b bobthefish: added promt support for virtualfish 2014-11-21 08:58:21 +11:00
Justin Hileman
ada2c464b8 Fix bold flags leaking into prompt 2014-05-14 17:48:06 -03:00
Justin Hileman
2431e92680 Namespace all the bobthefishes. 2014-05-14 17:48:06 -03:00
Justin Hileman
706f0def36 Fix theme function descriptions. 2014-05-14 12:50:14 -04:00
Justin Hileman
4daec4a503 Add bobthefish theme. 2013-09-26 12:46:14 -07:00