mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
feat(toolbox): alias for toolbox enter
This commit is contained in:
committed by
Marc Cornellà
parent
0866f4daf4
commit
ed03e7127f
@@ -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 |
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
function toolbox_prompt_info() {
|
||||
[[ -f /run/.toolboxenv ]] && echo "⬢"
|
||||
}
|
||||
|
||||
alias tb="toolbox enter"
|
||||
|
||||
Reference in New Issue
Block a user