Commit Graph

64 Commits

Author SHA1 Message Date
Sweenu
2889a8005c path is used when no commands are running 2018-04-07 12:00:24 +02:00
Sweenu
695ef2e50f Add option to display running command in title 2018-04-07 11:26:56 +02:00
Philip Schaten
f66bee227a Allow three values for theme_display_user. 2018-03-25 09:01:22 -07:00
Philip Schaten
89ca08abc4 theme_display_ssh defaults to no 2018-03-25 09:01:22 -07:00
Philip Schaten
2428af06aa theme_display_ssh - switch added 2018-03-25 09:01:22 -07:00
Justin Hileman
5acaae3f62 Improved color scheme handling.
- Improve performance significantly in the base case (i.e. when git or something isn't slowing it down anyway).
- Make `bobthefish_display_colors` a non-underscore function. It's meant for public use :)
- Support previewing _different_ color schemes via `bobthefish_display_colors`. Pass a color scheme name, or `--all` to preview everything.
- Make color overrides a bit fishier: use a `bobthefish_colors` function to override color schemes, rather than declaring a whole pile of variables.
- Add support for a base color scheme in `bobthefish_colors`, in case you don't want to override everything.
- Add a deprecation notice with upgrade instructions for users with old-style custom color schemes.
2018-03-25 08:58:10 -07:00
Justin Hileman
4ac7f3c5d7 Switch "hide git master branch" logic from opt-in to opt-out
This is a better default.
2018-03-21 06:38:08 -07:00
Philip Fulgham
180f251189 Add verbose option for Git dirty state (#133)
* Add verbose option for Git dirty state

* Simplify git dirty verbose setting check
2018-02-20 22:25:19 -08:00
Peter Tellgren
728c52d6a3 Add Kubernetes context flag and default value to README 2018-01-19 10:17:07 -08:00
Justin Hileman
d0a6e45403 Allow disabling the "dirty" check for git.
This gets suuuuper slow for big repos. Support disabling it globally, via `theme_display_git_dirty`, or per-repo, using the `bash.showDirtyState` git config.
2018-01-10 13:43:38 -08:00
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