Justin Hileman
027be0a1ee
[bobthefish] allow git untracked files override
...
Showing untracked files can be (very) slow on large NFS mounts. Allow the user to disable the '...' output when there are untracked files, either globally via fish config:
set -g theme_display_git_untracked no
or locally via git repo config:
git config bash.showUntrackedFiles false
Fixes #434
2015-04-24 10:59:50 -07:00
Justin Hileman
d87760e34c
Fix extraneous output from type
on some fishes.
2015-04-23 10:31:52 -07:00
Liang Bo Wang
681d02b05a
Fix python version detection in theme bobthefish
...
Relax the python version matching, so `python` that symlinks to
either major versions (e.g. 2, 3) or minor versions (e.g. 2.7, 3.4)
can be properly detected.
Note that currently both pypy and pypy3 have same display glyph.
2015-02-22 18:17:33 +08:00
Justin Hileman
e4d8c6ed52
Fix for bobthefish ruby version segment
...
… when there's no version to show.
Fixes #370
2015-02-10 14:02:06 -08: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
Justin Hileman
1bb40b4019
No need to save $RETVAL, $status works just fine
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
Justin Hileman
98ac1baaad
Fix bold flags leaking into prompt
2014-05-14 17:48:06 -03:00
Justin Hileman
8b66273236
Namespace all the bobthefishes.
2014-05-14 17:48:06 -03:00
Justin Hileman
11087ce22d
Fix theme function descriptions.
2014-05-14 12:50:14 -04:00
Justin Hileman
35ae2a8a01
Add bobthefish theme.
2013-09-26 12:46:14 -07:00