mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 03:52:12 +03:00
work
parent
f253a92820
commit
fcb811e107
@ -59,24 +59,27 @@ These can be added to `tide_left_prompt_items` or `tide_right_prompt_items`. For
|
||||
set --universal tide_left_prompt_items context $tide_left_prompt_items
|
||||
```
|
||||
|
||||
| Item | Description |
|
||||
| ----------------------------- | --------------------------------- |
|
||||
| [chruby](#chruby) | ruby version number using chruby |
|
||||
| [cmd_duration](#cmd_duration) | duration of the last run command |
|
||||
| [context](#context) | user@hostname in ssh or root |
|
||||
| [git](#git) | git repository status |
|
||||
| [jobs](#jobs) | presence of background jobs |
|
||||
| [node](#node) | node version number |
|
||||
| [os](#os) | current operating system |
|
||||
| [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 |
|
||||
| [virtual_env](#virtual_env) | python virtual environment |
|
||||
| newline | new line |
|
||||
| Item | Description |
|
||||
| ----------------------------- | ------------------------------------ |
|
||||
| [character](#character) | prompt symbol; turns red on error |
|
||||
| [chruby](#chruby) | ruby version number using chruby |
|
||||
| [cmd_duration](#cmd_duration) | duration of the last run command |
|
||||
| [context](#context) | user@hostname in ssh or root |
|
||||
| [git](#git) | git repository status |
|
||||
| [go](#go) | go version |
|
||||
| [jobs](#jobs) | presence of background jobs |
|
||||
| [kubectl](#kubectl) | current kubernetes cluster/namespace |
|
||||
| [node](#node) | node version number |
|
||||
| [os](#os) | current operating system |
|
||||
| [pwd](#pwd) | current directory |
|
||||
| [php](#php) | php version |
|
||||
| [rustc](#rustc) | rustc version |
|
||||
| [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 |
|
||||
| [virtual_env](#virtual_env) | python virtual environment |
|
||||
| newline | new line |
|
||||
|
||||
## chruby
|
||||
|
||||
@ -143,13 +146,13 @@ set --universal tide_left_prompt_items context $tide_left_prompt_items
|
||||
| bg_color | background color of os item | color |
|
||||
| color | color of os item | color |
|
||||
|
||||
## prompt_char
|
||||
## character
|
||||
|
||||
| Variable | Description | Type |
|
||||
| --------------- | ------------------------------------------------------ | ------ |
|
||||
| bg_color | background color of prompt_char item | color |
|
||||
| bg_color | background color of character item | color |
|
||||
| failure_color | color when the last command exited with a code >0 | color |
|
||||
| icon | icon for prompt_char to display | string |
|
||||
| icon | icon for character to display | string |
|
||||
| success_color | color when the last command completed with a code of 0 | color |
|
||||
| vi_default_icon | vi default bind mode icon | string |
|
||||
| vi_insert_icon | vi insert bind mode icon | string |
|
||||
|
Loading…
Reference in New Issue
Block a user