Don March
0ea2e743a7
Add example code for a custom color scheme
2016-06-07 13:48:40 -04:00
Don March
023030fd50
Improve __bobthefish_display_colors
variable
...
Per suggestions from @bobthecow.
2016-06-07 01:30:18 -04:00
Justin Hileman
0ac50039a7
Color schemes tweaks for themes with more limited palettes.
2016-06-06 21:56:14 -07:00
Don March
672c637f94
Add configurable color schemes
...
* Refactor fish_prompt.fish to use semantically named variables
throughout the script rather than specific colors. Set those variables
to various colors depending on the `theme_color_scheme` variable.
* Add the `__bobthefish_display_colors` function to easily test and
preview different color schemes.
* Update documentation.
Fixes #7 .
2016-06-06 18:38:19 -04:00
pik
cfb7c7df79
Support chruby ruby_version for show_ruby()
2016-05-23 20:48:09 +08:00
Justin Hileman
f269522c8c
Merge pull request #43 from caesar/git-status-colors
...
Change colors for git staged and stashed statuses
2016-05-22 07:05:16 -07:00
Caesar Schinas
9ce0cc2383
Remove quotes for consistency
2016-05-17 18:33:31 -03:00
Caesar Schinas
22fabb438e
Use ⎇ symbol if Powerline is disabled
2016-05-17 17:57:56 -03:00
Caesar Schinas
4dd6a6d3ca
Change colors for git staged and stashed statuses
2016-05-17 17:38:01 -03:00
Caesar Schinas
cb4f97fe96
Make using Powerline glyphs the default
2016-05-15 22:18:28 -03:00
Caesar Schinas
ac57f8959b
Add option to not use Powerline glyphs
2016-05-15 20:43:01 -03:00
Justin Hileman
c2efeb5740
Make bobthefish git worktree aware
...
Fixes #29
2016-04-30 22:09:25 -07:00
Justin Hileman
e01fe9aaac
Fix leaky colors from the right prompt
...
Fixes #31
2016-04-04 11:36:11 -04:00
Justin Hileman
d7fe9b42bd
Performance improvements. Thanks builtins!
2016-03-30 16:13:39 -07:00
Justin Hileman
aa83e34148
Use command
for a few more things that get overridden
2016-03-30 13:24:51 -07:00
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.
2016-03-29 23:55:58 -07:00
Justin Hileman
3db31f0c52
Faster!
2016-03-11 13:28:47 -08:00
Justin Hileman
89ab00e768
Use local variables for teh rubies.
2016-03-11 11:24:46 -08:00
Justin Hileman
daa9025183
Merge pull request #24 from LambdaLord/master
...
Replace some color constants with existing variables
2016-03-10 22:45:25 -08:00
Justin Hileman
3e72ddf0f9
Merge pull request #25 from paxy97/error_code
...
Add show error code option
2016-03-10 22:44:14 -08:00
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.
2016-03-09 16:54:32 -08:00
Pavle Portic
3d89a0a3fe
Update README
2016-03-03 12:12:09 +01:00
Pavle Portic
0ab6f79efe
Add show error code option
2016-03-03 03:40:04 +01:00
LambdaLord
7c49324381
Revert unnecessary name change
2016-03-02 06:39:59 +00:00
LambdaLord
ed0eb02dfb
Quick rename for new variable
2016-03-02 06:04:16 +00:00
LambdaLord
10170cb856
Replaced some color values with new variable
2016-03-02 05:44:05 +00:00
LambdaLord
b137eb1bdc
Replace some constants with existing greys
2016-03-02 05:23:45 +00:00
Johnny Robeson
b3e2982abf
fix powerline patched fonts links
2016-02-20 02:10:48 -05:00
Justin Hileman
47eace4182
Fix some vagrant segment copypasta
2016-02-19 10:06:52 -08:00
Justin Hileman
29d78ebaf3
Clean up a bunch of redirects, make 'em fishier.
2016-02-19 07:53:59 -08:00
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.
2016-02-19 07:53:38 -08:00
Justin Hileman
a9cc3400fa
Use type -q
instead of which
.
2016-02-18 23:16:08 -08:00
Justin Hileman
ad36c7ada5
Add rudimentary VMWare vagrant support.
...
Drive-by: simplify existing virtualbox support a bit.
2016-02-18 23:16:08 -08:00
Justin Hileman
1f13fd0888
Add nerd fonts support.
...
Use better glyphs for Ruby and Python.
2016-02-18 22:00:31 -08:00
Justin Hileman
63cd4de4ba
Word.
2016-02-03 23:13:57 -08:00
Justin Hileman
6ca1ae9246
Get rid of the last $__bobthefish_* global!
2016-02-03 23:10:57 -08:00
Justin Hileman
c2b313408c
Fix $status regression.
2016-02-03 23:09:57 -08:00
Sasha Egorov
62c77644b7
Add stopping state
2016-02-02 00:24:49 +04:00
Justin Hileman
1a20ff7194
Improve python version detection.
2016-01-25 08:00:29 -08:00
Justin Hileman
845f5f4aa6
Make all the $__bobthefish_* variables local
...
… and don't shadow variables in __bobthefish segment functions.
This might fix #18 and #19 ?
2016-01-25 07:06:48 -08:00
Justin Hileman
ac7c5c913b
Add another space between virtualenv version and name
...
Fixes #16
2016-01-14 23:25:12 -08:00
Sasha Egorov
3e9ce36165
Typo in comment
2015-12-16 22:18:18 +04:00
Sasha Egorov
4190fa2e0d
Meet Vagrant
2015-12-16 22:12:21 +04:00
Justin Hileman
ad41beee1b
Update comments and readme for vi mode.
2015-11-22 07:48:49 -08:00
Oliver Schrenk
b094b1ec71
Early return
2015-11-22 12:53:49 +01:00
Oliver Schrenk
5314f8876a
Support hiding of vi segment for special mode
2015-11-22 12:35:54 +01:00
Oliver Schrenk
92691a3c4e
Move vi mode segment to front
2015-11-22 12:35:54 +01:00
Oliver Schrenk
af1e19724c
Support vi mode
2015-11-22 12:35:54 +01:00
Sasha Egorov
370d867cc7
Title and time
2015-11-11 14:04:36 +04:00
Justin Hileman
b1dff8ef68
Prevent false positives for 'untracked' empty directories.
...
Fixes a regression in #13
2015-10-26 07:16:21 -07:00