Update 19.10.2022
This commit is contained in:
@@ -17,3 +17,9 @@ You can use it by adding `$(toolbox_prompt_info)` to your `PROMPT` or `RPROMPT`
|
||||
```zsh
|
||||
RPROMPT='$(toolbox_prompt_info)'
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|-------|----------------------|----------------------------------------|
|
||||
| tb | `toolbox enter` | Enters the toolbox environment |
|
||||
|
||||
5
zsh/plugins/toolbox/toolbox.plugin.zsh
Normal file
5
zsh/plugins/toolbox/toolbox.plugin.zsh
Normal file
@@ -0,0 +1,5 @@
|
||||
function toolbox_prompt_info() {
|
||||
[[ -f /run/.toolboxenv ]] && echo "⬢"
|
||||
}
|
||||
|
||||
alias tb="toolbox enter"
|
||||
Reference in New Issue
Block a user