- Include glyphs for all the glyphy segments
- Make segment display names consistent with variable names
- Add virtualgo segment
- Update user@hostname segment to match current style
- Use a virtualgo color variable, even though it's the same as virtualenv.
- Switch to a cleaner nerd fonts go glyph.
- Add a non-nerd fonts go glyph (empty for now, but TBD if this changes).
- Show if `theme_display_user` / `theme_display_hostname` is set to `yes`.
- Show both user and hostname when using SSH.
- Show user if `$default_user` is set and it isn't the current user.
- 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
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"
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.
(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
* 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
* 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
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.
* 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.
* 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.