Justin Hileman
b0f8cea364
Make bobthefish git-workdir aware
...
Fixes #29
8 years ago
Justin Hileman
d7fe9b42bd
Performance improvements. Thanks builtins!
8 years ago
Justin Hileman
aa83e34148
Use `command` for a few more things that get overridden
8 years ago
Justin Hileman
088a0f44e0
Consistency++
...
* Only use if/end blocks for things longer than one line.
* Only use inline `[ foo ]; and bar` style when `bar` is `return`. Break the `and`/`or` onto a second line for anything that actually has a side effect.
* More consistent use of `echo` flags.
* Don't use `pwd` when `$PWD` will do.
8 years ago
Justin Hileman
3db31f0c52
Faster!
8 years ago
Justin Hileman
89ab00e768
Use local variables for teh rubies.
8 years ago
Justin Hileman
daa9025183
Merge pull request #24 from LambdaLord/master
...
Replace some color constants with existing variables
8 years ago
Justin Hileman
3e72ddf0f9
Merge pull request #25 from paxy97/error_code
...
Add show error code option
8 years ago
Justin Hileman
cc1569f57c
fix `__bobthefish_vagrant_ids` when no id present
...
because `cat` with no arguments just hangs out at stdin waiting for you to type something.
8 years ago
Pavle Portic
3d89a0a3fe
Update README
8 years ago
Pavle Portic
0ab6f79efe
Add show error code option
8 years ago
LambdaLord
7c49324381
Revert unnecessary name change
8 years ago
LambdaLord
ed0eb02dfb
Quick rename for new variable
8 years ago
LambdaLord
10170cb856
Replaced some color values with new variable
8 years ago
LambdaLord
b137eb1bdc
Replace some constants with existing greys
8 years ago
Johnny Robeson
b3e2982abf
fix powerline patched fonts links
8 years ago
Justin Hileman
47eace4182
Fix some vagrant segment copypasta
8 years ago
Justin Hileman
29d78ebaf3
Clean up a bunch of redirects, make 'em fishier.
8 years ago
Justin Hileman
873289224e
Grep the vagrantfile to check for vmware_fusion
...
It's naive, but more likely successful than checking for vmrun, which most people prolly never link.
8 years ago
Justin Hileman
a9cc3400fa
Use `type -q` instead of `which`.
8 years ago
Justin Hileman
ad36c7ada5
Add rudimentary VMWare vagrant support.
...
Drive-by: simplify existing virtualbox support a bit.
8 years ago
Justin Hileman
1f13fd0888
Add nerd fonts support.
...
Use better glyphs for Ruby and Python.
8 years ago
Justin Hileman
63cd4de4ba
Word.
8 years ago
Justin Hileman
6ca1ae9246
Get rid of the last $__bobthefish_* global!
8 years ago
Justin Hileman
c2b313408c
Fix $status regression.
8 years ago
Sasha Egorov
62c77644b7
Add stopping state
8 years ago
Justin Hileman
1a20ff7194
Improve python version detection.
8 years ago
Justin Hileman
845f5f4aa6
Make all the $__bobthefish_* variables local
...
… and don't shadow variables in __bobthefish segment functions.
This might fix #18 and #19 ?
8 years ago
Justin Hileman
ac7c5c913b
Add another space between virtualenv version and name
...
Fixes #16
9 years ago
Sasha Egorov
3e9ce36165
Typo in comment
9 years ago
Sasha Egorov
4190fa2e0d
Meet Vagrant
9 years ago
Justin Hileman
ad41beee1b
Update comments and readme for vi mode.
9 years ago
Oliver Schrenk
b094b1ec71
Early return
9 years ago
Oliver Schrenk
5314f8876a
Support hiding of vi segment for special mode
9 years ago
Oliver Schrenk
92691a3c4e
Move vi mode segment to front
9 years ago
Oliver Schrenk
af1e19724c
Support vi mode
9 years ago
Sasha Egorov
370d867cc7
Title and time
9 years ago
Justin Hileman
b1dff8ef68
Prevent false positives for 'untracked' empty directories.
...
Fixes a regression in #13
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
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
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
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
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