Commit Graph

192 Commits

Author SHA1 Message Date
Justin Hileman
cbae8ad3fc Fix git worktree support.
Fixes #82
2017-02-28 07:09:38 -08:00
Justin Hileman
1d7cb9346f Merge pull request #83 from LaurentTreguier/patch-1
Display superuser glyph when using fakeroot
2017-02-27 11:55:09 -08:00
LaurentTreguier
cb6bb0ecb3 Use a different glyph color when using fakeroot 2017-02-27 20:44:01 +01:00
LaurentTreguier
23fdcb8048 Display superuser glyph when using fakeroot 2017-02-27 10:37:15 +01:00
Justin Hileman
750030a110 Remove a ton of set_color normal calls.
Eases the pain of fish-shell/fish-shell#3793 just a bit.

This _shouldn't_ ever look any different to the end user. I think.
2017-02-01 05:13:31 -08:00
Justin Hileman
9b414bc6fb Speed up git ahead/behind parsing by ~20% 2017-01-30 07:33:52 -08:00
Justin Hileman
908a7b5365 s/sed/string replace builtin/g 2017-01-29 20:02:01 -08:00
Justin Hileman
73b3bd0ea3 Work around $CMD_DURATION bug in fish < 2.5.0
Fixes #67
2017-01-21 05:12:59 -08:00
Justin Hileman
249807071e Add theme_title_display_user config, docs.
See #72
2017-01-19 10:18:56 -08:00
Justin Hileman
86116b7e80 Merge pull request #72 from kephas/master
Display user in terminal title
2017-01-19 10:15:54 -08:00
Justin Hileman
f772b4f179 Merge pull request #73 from JelteF/patch-3
Make python --version a single line
2017-01-19 07:42:35 -08:00
Jelte Fennema
b5f7b1eaee Make python --version a single line
Pypy outputs two lines and  causes an error this way.
2017-01-17 19:30:41 +01:00
Pierre Thierry
551a768534 Display user in terminal title 2017-01-10 00:55:09 +01:00
Justin Hileman
48f067bac0 Add support for full paths in prompt
(and support for abbreviated project-relative paths!)

Use `fish_prompt_pwd_dir_length` and `theme_project_dir_length` to control the number of characters shown from each parent directory name.

Fixes #68
2016-12-29 16:12:55 -08:00
Justin Hileman
d82bd5e214 Add documentation for fishy function overrides.
See #58
2016-10-18 07:36:55 -07:00
Justin Hileman
ee5c1e29b8 More efficient python version checking, capture pypy3. 2016-10-18 07:25:22 -07:00
Justin Hileman
dca95833dc Merge pull request #60 from rominf/master
Fix #52
2016-10-18 07:23:39 -07:00
Justin Hileman
1f827c6bab Update vi mode prompt.
* Default to showing vi mode prompt (if the current bind mode is vi). Allow overriding by setting it `theme_display_vi` to `no`.

* Remove `theme_display_vi_hide_mode`, because I don't like the prompt jumping around when changing modes.

* Override `fish_mode_prompt` because we're already handling it inside `fish_prompt`. Add a note so future code archeologists can figure out how to override.

* Add support for `replace-one` bind mode.

Fixes #65
2016-10-18 07:04:59 -07:00
Roman Inflianskas
a2df7fbacd Fix #52 2016-08-28 23:32:52 +03:00
Justin Hileman
d744b2fe0f Update demo screencast.
Fixes #59
2016-08-27 09:10:07 -07:00
Justin Hileman
6041f9e454 remove slackin badge 2016-08-27 09:08:53 -07:00
Justin Hileman
4a39cb2bdf Add gruvbox to the readme. 2016-08-27 09:07:20 -07:00
Justin Hileman
ff560c97a8 Merge pull request #57 from Jguer/master
Add Gruvbox Theme
2016-08-27 09:05:24 -07:00
Justin Hileman
8898658a9a Speed up Vagrant status code by 10-15x.
(Excluding whatever time is spent getting the status from the provider, of course. Can't do much with that)

See #56
2016-08-25 12:18:10 -07:00
Justin Hileman
ca7a3ecaa2 Merge pull request #56 from rickard-von-essen/vargrant-prl
Improved Vagrant provider detection and support for parallels provider.
2016-08-25 12:15:13 -07:00
Justin Hileman
02c4c51973 Whoops. Forgot the non-nerd-fonts tag glyph :) 2016-08-25 08:06:23 -07:00
Justin Hileman
4669e3dad6 Add better tag support in the git branch segment. 2016-08-25 08:01:08 -07:00
Justin Hileman
b2f097c91c Glyph cleanup
* Rearrange overrides so they're closer to what they're overriding
* Remove some unused Powerline glyph definitions
* Use all the pretty Octicons when Nerd Fonts support is enabled
2016-08-25 07:59:01 -07:00
Rickard von Essen
525416cc19 Improved handling of Vagrantfiles with multiple providers 2016-08-22 21:38:28 +02:00
Jguer
3ecd0726ca Changed path segment for gruvbox 2016-08-22 12:00:02 +01:00
Rickard von Essen
54ef10a844 Make provider a local var 2016-08-22 08:22:04 +02:00
John Guerreiro
22451d400f Fixed repo color to green instead of yellow 2016-08-22 02:45:23 +01:00
Jguer
1133c4b7bf Added gruvbox theme 2016-08-22 02:40:15 +01:00
Rickard von Essen
2cc237267e Improved Vagrant provider detection and support for parallels provider.
Improved the detection of Vagrant provider. The previouse didn't
correctly detect which provider was used.

Added support for detecting the state of Parallels vagrant provider.
2016-08-21 21:11:35 +02:00
Justin Hileman
6dfabda323 Merge pull request #51 from zaclimon/master
Add option to hide cmd duration
2016-07-17 15:41:46 -07:00
zaclimon
f9414db37d Add an option to hide the cmd duration 2016-07-17 18:39:07 -04:00
Justin Hileman
5364df9816 tweak. 2016-06-16 22:46:12 -07:00
Justin Hileman
3ec6e23811 Add color schemes to README
Fixes #49
2016-06-16 22:45:19 -07:00
Justin Hileman
ab720a3bb3 Add docker and theme configs to fish_prompt comment. 2016-06-08 19:31:16 -07:00
Justin Hileman
ac1a6e230c Update docker segment to use new color variables.
See #47
See #48
2016-06-08 01:21:13 -07:00
Justin Hileman
fc50e9d6c5 Only show right prompt separator when date and cmd duration exist.
See #48
2016-06-08 01:20:35 -07:00
Justin Hileman
e39a850ed0 Merge pull request #48 from feinstruktur/master
Docker machine display and conditional date
2016-06-08 01:15:24 -07:00
Justin Hileman
8d9e05e20e Merge pull request #47 from ohspite/color-schemes
Add configurable color schemes
2016-06-08 01:14:20 -07:00
Sven A. Schmidt
32cfd83157 Hide $__bobthefish_left_arrow_glyph when $theme_display_date = "no" 2016-06-08 08:35:52 +01:00
Sven A. Schmidt
77977f882f Added -d to function 2016-06-08 08:33:41 +01:00
Don March
0ea2e743a7 Add example code for a custom color scheme 2016-06-07 13:48:40 -04:00
Justin Hileman
383bf0d7b0 uname -m is more useful than uname -p 2016-06-07 10:11:03 -07:00
Sven A. Schmidt
d730526c07 Added settings variables to allow date and docker display to be made conditional 2016-06-07 08:31:34 +01:00
Don March
023030fd50 Improve __bobthefish_display_colors variable
Per suggestions from @bobthecow.
2016-06-07 01:30:18 -04:00
Don March
2f06c08c33 Merge pull request #1 from oh-my-fish/color-schemes
Color schemes tweaks for themes with more limited palettes.
2016-06-07 01:14:26 -04:00