Commit Graph

215 Commits

Author SHA1 Message Date
Justin Hileman
0f2a2d9ada Fix fish < 2.4 command duration regression.
See #105

Fixes #107
2017-09-29 07:33:48 -07:00
Justin Hileman
f4378582d6 Clean up some unused glyphs from the nerd fonts PR. 2017-09-07 16:53:17 -07:00
Justin Hileman
c24bcc443d Merge pull request #99 from nemoDreamer/git-glyphs
Git glyphs for Nerd Fonts
2017-09-07 16:50:47 -07:00
Justin Hileman
d87e9486f8 Fix command duration in Fish 3.x
Drive-by: fix string replacement regex for rounding off >1h.

Fixes #105
2017-09-02 23:30:53 -07:00
Justin Hileman
574190aa7b Merge pull request #101 from cmrn/force-display-vi
Better hybrid mode support for theme_display_vi
2017-08-07 22:25:26 -07:00
Cameron Moon
ee8e150424 rename flag from 'force' to 'yes' 2017-08-08 12:46:23 +10:00
Cameron Moon
22114be816 Add docs for theme_display_vi 2017-08-08 12:43:10 +10:00
Cameron Moon
d204ecdb5b Enable vi mode display for hybrid_bindings
Vi mode display should be enabled for people using the hybrid_bindings
function found in the fish documentation.
2017-08-08 12:20:14 +10:00
Cameron Moon
5337033ee4 Add option to force show vi mode 2017-08-08 12:19:10 +10:00
Philip Blyth
e2cf9a7d3b Removed trailing white-space 2017-08-02 23:45:27 +01:00
Philip Blyth
7e6543a3f0 Merge branch 'master' into git-glyphs 2017-07-18 14:49:45 -04:00
Justin Hileman
6658ea3db0 Merge pull request #95 from JingkaiTang/master
Redirect git warnings in __bobthefish_prompt_git to /dev/null
2017-07-11 06:22:13 -07:00
Jingkai Tang
9ec8d2cf24 Fix git warnings in __bobthefish_prompt_git 2017-07-10 15:04:40 +08:00
Justin Hileman
8f055587da Merge pull request #92 from druchoo/feature/cursor_on_a_new_line
Feature/cursor on a new line
2017-06-18 00:26:35 -04:00
Andrew Choo
0b3b522160 Implement newline cursor feature with one option instead of three
Per bobthecow:

"In keeping with bobthefish's goal to be opinionated but flexible,
let's do this with one option, not three. I'm leaning toward:

set -g theme_cursor_on_new_line yes
Then:

Always show the arrow at the end of the first line
Always show a minimalist arrow at the start of the next line"
2017-06-17 11:37:12 -04:00
Andrew Choo
8181b4526b Update README 2017-06-10 22:51:46 -04:00
Andrew Choo
176c3a7a69 Remove tabs 2017-06-10 22:51:31 -04:00
Andrew Choo
28dfc4f985 Add ability to have cursor start on a new line
In order for the right prompt to work the new line must start with at
least one character. A space is used for this purpose. This looks a bit
strange so added option to include the default right arrow glyph. Lastly,
added option to remove the right arrow glyph on the first (top) line.
2017-06-10 22:51:14 -04:00
Philip Blyth
dc151776b6 moar git-glyps! 2017-05-18 17:10:24 -04:00
Justin Hileman
950e4f1bc8 Merge pull request #90 from nemoDreamer/git-glyphs
Moved Git chars to glyph variables
2017-05-03 13:56:47 -07:00
Philip Blyth
f8c8dc7f07 Moved Git chars to glyph variables 2017-05-03 15:23:28 -04:00
Justin Hileman
87534a008a Fix issues when RBENV_ROOT/version doesn't exist.
Fixes #89
2017-04-26 20:12:30 -07:00
Justin Hileman
1eb4cf63ac Show vi mode prompt in hybrid key bindings too. 2017-03-07 05:23:18 -08:00
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