Justin Hileman
ac43ce0631
Merge pull request #13 from pik/master
...
Reduce git and rbenv related rendering bottlenecks
9 years ago
hurin
5b88c7303c
Fix extreme slowdown rendering git prompt with multiple untracked files
9 years ago
hurin
30c1ff9d8e
Speed up rbenv prompt computation
...
ref: https://github.com/sstephenson/rbenv/issues/804
9 years ago
Justin Hileman
a16f186164
Merge pull request #14 from derekstavis/patch-1
...
README: Update install instructions
9 years ago
Derek Willian Stavis
de1d7cebf6
README: Update install instructions
9 years ago
Justin Hileman
7221fb8a32
Fix "expected a combining operator" regression.
...
See #10
9 years ago
Justin Hileman
bbb6a4645b
Cleanup: a couple superfluous setting.
9 years ago
Justin Hileman
336f1f1ce8
Cleanup: use named args for all sorts of current_dir
9 years ago
Justin Hileman
160bc9683e
Add $theme_avoid_ambiguous_glyphs
...
Allow users to avoid ambiguous width glyphs to prevent issues with guessing the width of multibyte characters.
For now, this just avoids `…`. We'll add some more if we run into them.
Fixes #10
9 years ago
Justin Hileman
e71317aa19
Use a compact path in the title.
...
See #11
9 years ago
Justin Hileman
13c35f3424
Allow disabling the title segments.
...
set -g theme_title_display_process yes
set -g theme_title_display_path no
See #11
9 years ago
Justin Hileman
00f5578311
Allow overriding the right prompt date format.
...
set -g theme_date_format "+%a %H:%M"
… or something like that :)
See #11
9 years ago
Justin Hileman
0b9dc24eec
Just a bit more Markdown cleanup
9 years ago
Justin Hileman
f7e5fd37ac
Revert "Tweak branch glyph alignment."
...
This reverts commit fc54dbc986
.
9 years ago
Justin Hileman
fc54dbc986
Tweak branch glyph alignment.
9 years ago
Justin Hileman
a195c0dea1
Clean up glyphs in README a bit, fix branch glyph.
9 years ago
Justin Hileman
da9bf50279
Add note about `VIRTUAL_ENV_DISABLE_PROMPT`
...
Fixes #5
9 years ago
Justin Hileman
2c915008cd
Merge pull request #3 from tchajed/fix-ahead-behind
...
Fix ahead printing when both ahead and behind
9 years ago
Tej Chajed
489a2eee3d
Fix ahead printing when both ahead and behind
...
Specifically, the awk parsing bails out early if we're ahead, even
though there may be later behind commits, resulting in a status of just
"+" when "±" would be correct.
9 years ago
Justin Hileman
ea9467fbff
We do it again, but this time with the right override value
9 years ago
Justin Hileman
54aad12a34
Update README with new theme options.
9 years ago
Justin Hileman
cd15f6551c
Refactor "git ahead" logic:
...
* Revert removal of the less-verbose style
* Extract logic into a helper function
* Add a flag for enabling verbose style
* Remove a pile of unnecessary local variables
* Code style fixes
9 years ago
Johannes Schneider
e0d3abcaed
removed echo
9 years ago
Johannes Schneider
0d1f7868cd
improved ahead/behind showing
9 years ago
Justin Hileman
b48def9c2e
Update README with badges and installation instructions.
9 years ago
Justin Hileman
a18c9ab0fa
[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
d45898d4f0
Fix extraneous output from `type` on some fishes.
10 years ago
Liang Bo Wang
ce8ec8f220
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
a08626d43f
Fix for bobthefish ruby version segment
...
… when there's no version to show.
Fixes #370
10 years ago
Justin Hileman
1144f1771e
[bobthefish] Add config options to readme.
10 years ago
Justin Hileman
e766f6c003
[bobthefish] Default hg segment to off
...
… due to performance concerns.
See #258
See #262
10 years ago
Justin Hileman
2a2532b752
[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
e17a6871b4
[bobthefish] One more cleanup.
10 years ago
Justin Hileman
c8853f6f61
[bobthefish] Default display configs to yes
10 years ago
Roman Inflianskas
81f2cce0fb
bobthefish: allow user disable segments
...
Conflicts:
themes/bobthefish/fish_prompt.fish
10 years ago
Justin Hileman
f108e89f1a
[bobthefish] Use @rominf's recursive hg to find hg root.
10 years ago
Roman Inflianskas
94f04d7260
bobthefish: hg: faster checking for hg repo (fix)
...
Conflicts:
themes/bobthefish/fish_prompt.fish
10 years ago
Justin Hileman
1c38607b13
[bobthefish] Use brackets instead of test.
10 years ago
Justin Hileman
08f8217cbe
[bobthefish] always use `command hg`
10 years ago
Justin Hileman
264b7cea78
[bobthefish] Use consistent sed delimiters.
10 years ago
Justin Hileman
1818ce9922
[bobthefish] Standardize stderr redirects.
10 years ago
Justin Hileman
3bdbfe8ee9
[bobthefish] much cleaner git "ahead" flag.
10 years ago
Justin Hileman
5ab89f663c
[bobthefish] Add support for rbenv and RVM
10 years ago
Justin Hileman
52e7b2bae7
[bobthefish] Simplify bold segments.
...
Add support for --bold (and --underline) to the __bobthefish_start_segment function.
10 years ago
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 :)
10 years ago
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.
10 years ago
Justin Hileman
8ac71fb43f
[bobthefish] Update virtualenv segment colors…
...
remove some additional unnecessary complication.
10 years ago
Justin Hileman
ea5640886b
No need to save $RETVAL, $status works just fine
10 years ago
Justin Hileman
986f0e1ea1
[bobthefish] Mention hg in README :)
10 years ago
Justin Hileman
e5a6915b4e
[bobthefish] More consistent project dir func names
10 years ago