Commit Graph

54 Commits

Author SHA1 Message Date
Ben
444b9a4827 Add support for choosing to show user and/or hostname in prompt (#71)
Add support for choosing to show user and/or hostname in prompt
2017-12-19 10:38:15 -05:00
Justin Hileman
500fc527a7 Add theme_newline_cursor = clean to docs. 2017-12-19 07:10:48 -08:00
Justin Hileman
162062b3ac Clean up theme_vcs_ignore_paths implementation.
- realpath isn't necessary for $PWD
- match subdirectories of all ignore paths (otherwise the vcs segment is missing for the directory itself, but shows in subdirectories, which is weird)
- check whether $theme_vsc_ignore_paths is set to save a command substitution
2017-12-19 06:58:56 -08:00
Jesper Derehag
2673d2c39d Add support for ignoring VCS directories
Signed-off-by: Jesper Derehag <jderehag@hotmail.com>
2017-12-19 09:41:12 -05: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
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
Justin Hileman
249807071e Add theme_title_display_user config, docs.
See #72
2017-01-19 10:18:56 -08: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
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
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
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
e39a850ed0 Merge pull request #48 from feinstruktur/master
Docker machine display and conditional date
2016-06-08 01:15:24 -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
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
Justin Hileman
340a343a5e Update README with chruby support (added in #45) 2016-05-23 22:25:12 -07:00
Justin Hileman
075e89abfa Update the screencast
Fixes #44
2016-05-22 08:45:00 -07:00
Caesar Schinas
9b3aa58cce Add theme_powerline_fonts option to README 2016-05-17 18:34:05 -03:00
Justin Hileman
c2efeb5740 Make bobthefish git worktree aware
Fixes #29
2016-04-30 22:09:25 -07:00
Justin Hileman
0a18150d1b s/screenshot/screencast/
Fixes #33
2016-04-10 15:42:51 -07:00
Justin Hileman
7f0021633a Update badges again 2016-03-10 23:04:48 -08:00
Justin Hileman
98ade34a7f Update badges 2016-03-10 22:56:40 -08:00
Pavle Portic
3d89a0a3fe Update README 2016-03-03 12:12:09 +01:00
Johnny Robeson
b3e2982abf fix powerline patched fonts links 2016-02-20 02:10:48 -05: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
Sasha Egorov
4190fa2e0d Meet Vagrant 2015-12-16 22:12:21 +04:00
Justin Hileman
50b45f7004 Apparently the GitHub strips styles anyway. 2015-11-22 07:55:57 -08:00
Justin Hileman
3c5bb9d86a Prettify some readme things. 2015-11-22 07:55:11 -08:00
Justin Hileman
ad41beee1b Update comments and readme for vi mode. 2015-11-22 07:48:49 -08:00
Sasha Egorov
370d867cc7 Title and time 2015-11-11 14:04:36 +04:00
Derek Willian Stavis
de1d7cebf6 README: Update install instructions 2015-10-24 15:37:25 -02:00
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
2015-10-13 20:34:35 -07:00
Justin Hileman
13c35f3424 Allow disabling the title segments.
set -g theme_title_display_process yes
    set -g theme_title_display_path no

See #11
2015-10-13 14:19:57 -07:00
Justin Hileman
00f5578311 Allow overriding the right prompt date format.
set -g theme_date_format "+%a %H:%M"

… or something like that :)

See #11
2015-10-13 14:18:48 -07:00
Justin Hileman
0b9dc24eec Just a bit more Markdown cleanup 2015-07-19 16:30:24 -07:00
Justin Hileman
f7e5fd37ac Revert "Tweak branch glyph alignment."
This reverts commit fc54dbc986.
2015-07-19 16:26:59 -07:00
Justin Hileman
fc54dbc986 Tweak branch glyph alignment. 2015-07-19 16:25:56 -07:00
Justin Hileman
a195c0dea1 Clean up glyphs in README a bit, fix branch glyph. 2015-07-19 16:24:10 -07:00
Justin Hileman
da9bf50279 Add note about VIRTUAL_ENV_DISABLE_PROMPT
Fixes #5
2015-07-19 16:13:15 -07:00
Justin Hileman
ea9467fbff We do it again, but this time with the right override value 2015-06-24 15:02:40 -07:00
Justin Hileman
54aad12a34 Update README with new theme options. 2015-06-24 14:57:07 -07:00
Justin Hileman
b48def9c2e Update README with badges and installation instructions. 2015-05-31 15:15:43 -07:00
Justin Hileman
1144f1771e [bobthefish] Add config options to readme. 2014-11-28 19:41:55 +11:00