mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 10:22:00 +00:00
feat(toolbox)!: rename and add aliases (#11580)
This commit is contained in:
parent
25c2c3a468
commit
cf0c800492
2 changed files with 4 additions and 2 deletions
|
@ -22,4 +22,5 @@ RPROMPT='$(toolbox_prompt_info)'
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
|-------|----------------------|----------------------------------------|
|
|-------|----------------------|----------------------------------------|
|
||||||
| tb | `toolbox enter` | Enters the toolbox environment |
|
| tbe | `toolbox enter` | Enters the toolbox environment |
|
||||||
|
| tbr | `toolbox run` | Run a command in an existing toolbox |
|
||||||
|
|
|
@ -2,4 +2,5 @@ function toolbox_prompt_info() {
|
||||||
[[ -f /run/.toolboxenv ]] && echo "⬢"
|
[[ -f /run/.toolboxenv ]] && echo "⬢"
|
||||||
}
|
}
|
||||||
|
|
||||||
alias tb="toolbox enter"
|
alias tbe="toolbox enter"
|
||||||
|
alias tbr="toolbox run"
|
||||||
|
|
Loading…
Reference in a new issue