mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-22 19:41:36 +03:00
Add hostname_parts
parent
a95b1944ea
commit
7ef53adc74
@ -124,13 +124,14 @@ set --universal tide_left_prompt_items context $tide_left_prompt_items
|
||||
|
||||
### context
|
||||
|
||||
| Variable | Description | Type |
|
||||
| -------------- | ------------------------------------------------------ | ------- |
|
||||
| always_display | display context when not in SSH or root user | boolean |
|
||||
| bg_color | background color of the context item | color |
|
||||
| color_default | color of the context item when not in SSH or root user | color |
|
||||
| color_root | color of the context item when the user is root | color |
|
||||
| color_ssh | color of the context item when in SSH | color |
|
||||
| Variable | Description | Type |
|
||||
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
|
||||
| always_display | display context when not in SSH or root user | boolean |
|
||||
| bg_color | background color of the context item | color |
|
||||
| color_default | color of the context item when not in SSH or root user | color |
|
||||
| color_root | color of the context item when the user is root | color |
|
||||
| color_ssh | color of the context item when in SSH | color |
|
||||
| hostname_parts | The number of hostname parts, split on dots, to display. For example, if your hostname is `foo.bar.baz`, 5 would show you `user@foo.bar.baz`, 1 would show you `user@foo`, and 0 would show you `user` | int |
|
||||
|
||||
### docker
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user