mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-22 19:41:36 +03:00
Add SHLVL
parent
c57b4ee0cd
commit
4faf2203e3
@ -75,6 +75,7 @@ set --universal tide_left_prompt_items context $tide_left_prompt_items
|
||||
| [prompt_char](#prompt_char) | prompt symbol; turns red on error |
|
||||
| [pwd](#pwd) | current directory |
|
||||
| [rust](#rust) | rust version number |
|
||||
| [shlvl](#shlvl) | current level of nested shells |
|
||||
| [status](#status) | exit code of the last command |
|
||||
| [time](#time) | current time |
|
||||
| [vi_mode](#vi_mode) | vi bind mode display |
|
||||
@ -179,6 +180,17 @@ set --universal tide_left_prompt_items context $tide_left_prompt_items
|
||||
| color | color of rust item | color |
|
||||
| icon | icon to display next to the rust version | string |
|
||||
|
||||
## shlvl
|
||||
|
||||
Note: this module is not enabled by default.
|
||||
|
||||
| Variable | Description | Type |
|
||||
| --------- | -------------------------------------------------------- | ------- |
|
||||
| bg_color | background color of shlvl item | color |
|
||||
| color | color of shlvl item | color |
|
||||
| icon | icon to display next to the shlvl number | string |
|
||||
| threshold | threshold of showing shlvl item. The default value is 1. | integer |
|
||||
|
||||
## status
|
||||
|
||||
| Variable | Description | Type |
|
||||
|
Loading…
Reference in New Issue
Block a user