Commit Graph

174 Commits

Author SHA1 Message Date
Justin Hileman
c91f0932d7 [bobthefish] Add config options to readme. 2014-11-28 19:41:55 +11:00
Justin Hileman
4db1f71bb3 [bobthefish] Default hg segment to off
… due to performance concerns.

See #258
See #262
2014-11-28 19:41:55 +11:00
Justin Hileman
620dbedef7 [bobthefish] One more hg speedup.
Send along the directory where we already found the .hg to throw hg a bone.
2014-11-28 19:41:55 +11:00
Justin Hileman
b4cd761843 [bobthefish] One more cleanup. 2014-11-28 19:41:54 +11:00
Justin Hileman
1e9893102e [bobthefish] Default display configs to yes 2014-11-28 19:41:54 +11:00
Roman Inflianskas
eec81de1b4 bobthefish: allow user disable segments
Conflicts:
	themes/bobthefish/fish_prompt.fish
2014-11-28 19:41:54 +11:00
Justin Hileman
0e76751e5f [bobthefish] Use @rominf's recursive hg to find hg root. 2014-11-28 19:41:54 +11:00
Roman Inflianskas
a3b401127c bobthefish: hg: faster checking for hg repo (fix)
Conflicts:
	themes/bobthefish/fish_prompt.fish
2014-11-28 19:41:54 +11:00
Justin Hileman
8b2b0ac585 [bobthefish] Use brackets instead of test. 2014-11-28 19:41:54 +11:00
Justin Hileman
3620d70690 [bobthefish] always use command hg 2014-11-28 19:41:54 +11:00
Justin Hileman
340a293517 [bobthefish] Use consistent sed delimiters. 2014-11-28 19:41:54 +11:00
Justin Hileman
83f5e52a0e [bobthefish] Standardize stderr redirects. 2014-11-28 19:41:54 +11:00
Justin Hileman
37a0679dda [bobthefish] much cleaner git "ahead" flag. 2014-11-28 19:41:54 +11:00
Justin Hileman
b67fde9a33 [bobthefish] Add support for rbenv and RVM 2014-11-28 19:41:54 +11:00
Justin Hileman
a81b1fcc2c [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
4012de608d [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
a4ba3bc8e7 [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
f6456dbc26 [bobthefish] Update virtualenv segment colors…
remove some additional unnecessary complication.
2014-11-28 19:41:53 +11:00
Joseph Tannhuber
fce4caddb7 Budspencer theme improvements
- Bookmarks and command/directory history functions implemented
- Function to edit commandline with $EDITOR
- Faster git parser
2014-11-26 16:08:56 +11:00
Justin Hileman
1bb40b4019 No need to save $RETVAL, $status works just fine 2014-11-20 14:02:02 -08:00
Justin Hileman
c839fafda3 [bobthefish] Mention hg in README :) 2014-11-20 14:02:02 -08:00
Justin Hileman
5662032b87 [bobthefish] More consistent project dir func names 2014-11-20 14:02:02 -08:00
Justin Hileman
c84ae81a12 [bobthefish] DRY: we don't need two pwd-relative-to-project funcs 2014-11-20 14:02:02 -08:00
Justin Hileman
c61a13465a [bobthefish] Switch git/hg priority in prompt
Add TODO to do this right :P
2014-11-20 14:02:01 -08:00
Justin Hileman
f046c9c542 [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
5104ef35f4 [bobthefish] Don't break when hg/git not found 2014-11-20 14:01:21 -08:00
Justin Hileman
30ac04ceda [bobthefish] Use hg root instead of hg stat for in_hg 2014-11-20 14:01:21 -08:00
Denis Kolesnikov
212626b7bd Added bookmark support to bobthefish theme mercurial prompt 2014-11-20 14:01:21 -08:00
Denis Kolesnikov
548008b67b Added simple mercurial pormpt to bobthefish theme 2014-11-20 14:01:21 -08:00
Roman Inflianskas
abc77d80d2 bobthefish: virtualfish: fix typo 2014-11-21 08:58:22 +11:00
Roman Inflianskas
c3a0da82d3 bobthefish: virtualfish: change color to blue 2014-11-21 08:58:21 +11:00
Roman Inflianskas
cd7e57d098 bobthefish: virtualfish: fix superscript 2014-11-21 08:58:21 +11:00
Roman Inflianskas
86a3979079 bobthefish: virtualfish: move at the front 2014-11-21 08:58:21 +11:00
Roman Inflianskas
73fd557123 bobthefish: added promt support for virtualfish 2014-11-21 08:58:21 +11:00
Steve Mckellar
9feaaa8cf0 Stops theme breaking on root directory 2014-11-03 20:25:59 +00:00
Attila Györffy
4d8af1cfdb Add eclm theme 2014-10-25 14:41:11 +02:00
hsharrison
adcaa83942 add virtualenv section to agnoster-mercurial prompt 2014-10-21 11:40:12 -04:00
Joseph Tannhuber
3649ca3b38 Budspencer theme improvements
- prompt line enumeration implemented
- new function to set the window title
- new session history
- README file updated
- replaced all `math` commands by `expr` for better performance
2014-10-16 22:24:00 -03:00
Joseph Tannhuber
b0977db783 Budspencer theme improvements
- Bookmarks and command/directory history functions implemented
- Function to edit commandline with $EDITOR
- Faster git parser
2014-10-16 22:24:00 -03:00
syl20bnr
8c29a41f9f syl20bnr theme improvements 2014-10-16 22:10:57 -03:00
Joseph Tannhuber
d8ca5d14cd Obsolete code removed 2014-08-12 10:32:39 +02:00
Joseph Tannhuber
8713d30236 Compatibility with emacs mode 2014-08-11 11:44:14 +02:00
Joseph Tannhuber
9376094d05 Bugfixes and simplifications after revision
from bpinto. Thank you very much.
2014-08-11 11:44:13 +02:00
Joseph Tannhuber
b842611986 Changed git toggle command from ',,' to '#' 2014-08-11 11:44:13 +02:00
Joseph Tannhuber
6b4f483dae don't change cursor color if terminal doesn't support it 2014-08-11 11:44:13 +02:00
Joseph Tannhuber
cbb1f8d9fc show commit in truncated format 2014-08-11 11:44:13 +02:00
Joseph Tannhuber
5c805aef02 git branch segment improved
removed needless colors
comments inserted
2014-08-11 11:44:13 +02:00
Joseph Tannhuber
f37d55ade5 made toggle functions available in VISUAL mode 2014-08-11 11:44:13 +02:00
Joseph Tannhuber
beb7a53839 git branch segment improved 2014-08-11 11:44:13 +02:00
Joseph Tannhuber
c3ca7d21b5 git ahead behind bug fixed 2014-08-11 11:44:13 +02:00