Commit ed03e712 authored by Ilya Maximov's avatar Ilya Maximov Committed by Marc Cornellà

feat(toolbox): alias for `toolbox enter`

parent 0866f4da
...@@ -17,3 +17,9 @@ You can use it by adding `$(toolbox_prompt_info)` to your `PROMPT` or `RPROMPT` ...@@ -17,3 +17,9 @@ You can use it by adding `$(toolbox_prompt_info)` to your `PROMPT` or `RPROMPT`
```zsh ```zsh
RPROMPT='$(toolbox_prompt_info)' RPROMPT='$(toolbox_prompt_info)'
``` ```
## Aliases
| Alias | Command | Description |
|-------|----------------------|----------------------------------------|
| tb | `toolbox enter` | Enters the toolbox environment |
function toolbox_prompt_info() { function toolbox_prompt_info() {
[[ -f /run/.toolboxenv ]] && echo "⬢" [[ -f /run/.toolboxenv ]] && echo "⬢"
} }
alias tb="toolbox enter"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment