mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 15:30:15 +08:00
feat(toolbox)!: rename and add aliases (#11580)
This commit is contained in:
parent
25c2c3a468
commit
cf0c800492
@ -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 New Issue
Block a user