add nix_shell item

Ilan Cosman 2022-06-18 03:30:07 -07:00
parent 2afcbaf533
commit c6ba062c7b

@ -57,7 +57,7 @@ set --universal tide_left_prompt_items context $tide_left_prompt_items
```
| Item | Description |
| ----------------------------- | ------------------------------------ |
| ----------------------------- | ---------------------------------------- |
| [aws](#aws) | aws profile/region |
| [character](#character) | prompt symbol; turns red on error |
| [chruby](#chruby) | ruby version number using chruby |
@ -69,6 +69,7 @@ set --universal tide_left_prompt_items context $tide_left_prompt_items
| [java](#java) | java version |
| [jobs](#jobs) | presence of background jobs |
| [kubectl](#kubectl) | current kubernetes cluster/namespace |
| [nix_shell](#nix_shell) | whether the current shell is a nix shell |
| [node](#node) | node version number |
| [os](#os) | current operating system |
| [php](#php) | php version |
@ -189,6 +190,14 @@ set --universal tide_left_prompt_items context $tide_left_prompt_items
| color | color of kubectl item | color |
| icon | icon for the kubectl item | string |
### nix_shell
| Variable | Description | Type |
| -------- | ---------------------------------- | ------ |
| bg_color | background color of nix_shell item | color |
| color | color of nix_shell item | color |
| icon | icon for the nix_shell item | string |
### node
| Variable | Description | Type |