update fish version compatability, run prettier

Ilan Cosman 2021-03-31 09:34:20 -07:00
parent 796014c26a
commit 644e73d52f
3 changed files with 23 additions and 22 deletions

@ -173,20 +173,20 @@ set --universal tide_left_prompt_items context $tide_left_prompt_items
## rust ## rust
| Variable | Description | Type | | Variable | Description | Type |
| --------------- | ----------------------------------------------------------- | ------- | | -------- | ---------------------------------------- | ------ |
| bg_color | background color of rust item | color | | bg_color | background color of rust item | color |
| color | color of rust item | color | | color | color of rust item | color |
| icon | icon to display next to the rust version | string | | icon | icon to display next to the rust version | string |
## status ## status
| Variable | Description | Type | | Variable | Description | Type |
| -------------- | --------------------------------------------------------------- | ------- | | ------------- | --------------------------------------------------------------- | ------ |
| failure_color | color of failed status | color | | failure_color | color of failed status | color |
| failure_icon | symbol to display when the last command failed >1 | string | | failure_icon | symbol to display when the last command failed >1 | string |
| success_color | color of successful status | color | | success_color | color of successful status | color |
| success_icon | symbol to display when the last command in a pipeline succeeded | string | | success_icon | symbol to display when the last command in a pipeline succeeded | string |
## time ## time

@ -2,15 +2,15 @@ Creating a custom item for Tide is pretty simple:
1. Write your item with a particular naming scheme: `_tide_item_<ITEM NAME>`. 1. Write your item with a particular naming scheme: `_tide_item_<ITEM NAME>`.
```fish ```fish
function _tide_item_example function _tide_item_example
set_color yellow set_color yellow
echo 'Hello world!' echo 'Hello world!'
end end
``` ```
2. Give your item a background color with a particular naming scheme: `tide_<ITEM NAME>_bg_color`. 2. Give your item a background color with a particular naming scheme: `tide_<ITEM NAME>_bg_color`.
```fish ```fish
set -U tide_example_bg_color normal set -U tide_example_bg_color normal
``` ```

@ -12,7 +12,8 @@ To install a specific tide version, for example, v4.1.1, you would run `fisher i
| Fish version | Latest compatible Tide version | | Fish version | Latest compatible Tide version |
| ------------- | ------------------------------ | | ------------- | ------------------------------ |
| 3.2.0 | Current | | 3.2.1 | Current |
| 3.2.0 | v4.2.0 |
| 3.1.0 - 3.1.2 | v4.1.1 | | 3.1.0 - 3.1.2 | v4.1.1 |
[official fish ppa]: https://launchpad.net/~fish-shell/+archive/ubuntu/release-3 [official fish ppa]: https://launchpad.net/~fish-shell/+archive/ubuntu/release-3