mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
Title and time
This commit is contained in:
18
README.md
18
README.md
@@ -1,12 +1,11 @@
|
||||
# bobthefish
|
||||
|
||||
bobthefish is a Powerline-style, Git-aware fish theme optimized for awesome.
|
||||
`bobthefish` is a Powerline-style, Git-aware [fish][fish] theme optimized for awesome.
|
||||
|
||||
[](https://github.com/oh-my-fish/oh-my-fish)  [](https://gitter.im/oh-my-fish/oh-my-fish?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
![bobthefish][screenshot]
|
||||
|
||||
|
||||
### Installation
|
||||
|
||||
Be sure to have Oh My Fish installed. Then just:
|
||||
@@ -18,7 +17,6 @@ You will probably need a [Powerline-patched font][patching] for this to work.
|
||||
|
||||
This theme is based loosely on [agnoster][agnoster].
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* A helpful, but not too distracting, greeting.
|
||||
@@ -29,7 +27,6 @@ This theme is based loosely on [agnoster][agnoster].
|
||||
* All the things you need to know about Git in a glance.
|
||||
* Visual indication that you can't write to the current directory.
|
||||
|
||||
|
||||
### The Prompt
|
||||
|
||||
* Flags:
|
||||
@@ -54,10 +51,9 @@ This theme is based loosely on [agnoster][agnoster].
|
||||
* _Note that not all of these have been implemented for hg yet :)_
|
||||
* Abbreviated project-relative path
|
||||
|
||||
|
||||
### Configuration
|
||||
|
||||
You can override some default options in your `config.fish`:
|
||||
You can override some of the following default options in your `config.fish`:
|
||||
|
||||
```fish
|
||||
set -g theme_display_git no
|
||||
@@ -69,12 +65,22 @@ set -g theme_display_ruby no
|
||||
set -g theme_display_user yes
|
||||
set -g theme_title_display_process yes
|
||||
set -g theme_title_display_path no
|
||||
set -g theme_title_use_abbreviated_path no
|
||||
set -g theme_date_format "+%a %H:%M"
|
||||
set -g theme_avoid_ambiguous_glyphs yes
|
||||
set -g default_user your_normal_user
|
||||
```
|
||||
|
||||
**Title options**
|
||||
|
||||
- `theme_title_display_process`. By default theme doesn't show current process name in terminal title. If you want to show it, just set to `yes`.
|
||||
- `theme_title_display_path`. Use `no` to hide current working directory from title.
|
||||
- `theme_title_use_abbreviated_path`. Default is `yes`. This means your home directory will be displayed as `~` and `/usr/local` as `/u/local`. Set it to `no` if you prefer full paths in title.
|
||||
|
||||
**Prompt options**
|
||||
- `theme_display_ruby`. Use `no` to completely hide all information about Ruby version. By default Ruby version displayed if there is the difference from default settings.
|
||||
|
||||
[fish]: https://github.com/fish-shell/fish-shell
|
||||
[screenshot]: http://i.0x7f.us/bobthefish.png
|
||||
[patching]: https://powerline.readthedocs.org/en/latest/fontpatching.html
|
||||
[fonts]: https://github.com/Lokaltog/powerline-fonts
|
||||
|
||||
Reference in New Issue
Block a user