Commit Graph

39 Commits (689c46eadf23ef7e77c4b8358dc90bc1dd9d4fed)

Author SHA1 Message Date
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
10 years ago
Justin Hileman d87760e34c Fix extraneous output from `type` on some fishes. 10 years ago
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.
10 years ago
Justin Hileman e4d8c6ed52 Fix for bobthefish ruby version segment
… when there's no version to show.

Fixes #370
10 years ago
Justin Hileman 4db1f71bb3 [bobthefish] Default hg segment to off
… due to performance concerns.

See #258
See #262
10 years ago
Justin Hileman 620dbedef7 [bobthefish] One more hg speedup.
Send along the directory where we already found the .hg to throw hg a bone.
10 years ago
Justin Hileman b4cd761843 [bobthefish] One more cleanup. 10 years ago
Justin Hileman 1e9893102e [bobthefish] Default display configs to yes 10 years ago
Roman Inflianskas eec81de1b4 bobthefish: allow user disable segments
Conflicts:
	themes/bobthefish/fish_prompt.fish
10 years ago
Justin Hileman 0e76751e5f [bobthefish] Use @rominf's recursive hg to find hg root. 10 years ago
Roman Inflianskas a3b401127c bobthefish: hg: faster checking for hg repo (fix)
Conflicts:
	themes/bobthefish/fish_prompt.fish
10 years ago
Justin Hileman 8b2b0ac585 [bobthefish] Use brackets instead of test. 10 years ago
Justin Hileman 3620d70690 [bobthefish] always use `command hg` 10 years ago
Justin Hileman 340a293517 [bobthefish] Use consistent sed delimiters. 10 years ago
Justin Hileman 83f5e52a0e [bobthefish] Standardize stderr redirects. 10 years ago
Justin Hileman 37a0679dda [bobthefish] much cleaner git "ahead" flag. 10 years ago
Justin Hileman b67fde9a33 [bobthefish] Add support for rbenv and RVM 10 years ago
Justin Hileman a81b1fcc2c [bobthefish] Simplify bold segments.
Add support for --bold (and --underline) to the __bobthefish_start_segment function.
10 years ago
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 :)
10 years ago
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.
10 years ago
Justin Hileman f6456dbc26 [bobthefish] Update virtualenv segment colors…
remove some additional unnecessary complication.
10 years ago
Justin Hileman 1bb40b4019 No need to save $RETVAL, $status works just fine 10 years ago
Justin Hileman 5662032b87 [bobthefish] More consistent project dir func names 10 years ago
Justin Hileman c84ae81a12 [bobthefish] DRY: we don't need two pwd-relative-to-project funcs 10 years ago
Justin Hileman c61a13465a [bobthefish] Switch git/hg priority in prompt
Add TODO to do this right :P
10 years ago
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.
10 years ago
Justin Hileman 5104ef35f4 [bobthefish] Don't break when hg/git not found 10 years ago
Justin Hileman 30ac04ceda [bobthefish] Use `hg root` instead of `hg stat` for in_hg 10 years ago
Denis Kolesnikov 212626b7bd Added bookmark support to bobthefish theme mercurial prompt 10 years ago
Denis Kolesnikov 548008b67b Added simple mercurial pormpt to bobthefish theme 10 years ago
Roman Inflianskas abc77d80d2 bobthefish: virtualfish: fix typo 10 years ago
Roman Inflianskas c3a0da82d3 bobthefish: virtualfish: change color to blue 10 years ago
Roman Inflianskas cd7e57d098 bobthefish: virtualfish: fix superscript 10 years ago
Roman Inflianskas 86a3979079 bobthefish: virtualfish: move at the front 10 years ago
Roman Inflianskas 73fd557123 bobthefish: added promt support for virtualfish 10 years ago
Justin Hileman 98ac1baaad Fix bold flags leaking into prompt 11 years ago
Justin Hileman 8b66273236 Namespace all the bobthefishes. 11 years ago
Justin Hileman 11087ce22d Fix theme function descriptions. 11 years ago
Justin Hileman 35ae2a8a01 Add bobthefish theme. 11 years ago