Skip to content

Commit

Permalink
Explain variable modification for configuration (#29)
Browse files Browse the repository at this point in the history
* Clarify location of prompt items

Add a line to the documentation to clarify where one can add new items to the prompt manually.

* Clarify how to properly set config variables

As per @IlanCosman's request

* Minor edits

Co-authored-by: Ilan Cosman <[email protected]>
  • Loading branch information
Epse and IlanCosman committed Oct 1, 2020
1 parent baa2f5d commit d4c2748
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Variables in these sections will be denoted as `foo_bar` but will actually be `t

You can take a look at the default configurations in `~/.config/fish/tide_theme/configure/configs` for inspiration.

You can modify variables using `set --universal` from the command line or `set --global` in your `config.fish` file.

## Prompt Variables

| Variable | Description | Type |
Expand Down Expand Up @@ -57,6 +59,12 @@ You can take a look at the default configurations in `~/.config/fish/tide_theme/

## Items

These can be added to `tide_left_prompt_items` or `tide_right_prompt_items`. For example, to add `context` to the far left of your left prompt:

```console
set --universal tide_left_prompt_items context $tide_left_prompt_items
```

| Item | Description |
| ----------------------------- | --------------------------------- |
| [cmd_duration](#cmd_duration) | duration of the last run command |
Expand Down

0 comments on commit d4c2748

Please sign in to comment.