feat(toolbox)!: rename and add aliases (#11580)

This commit is contained in:
François M 2023-04-06 15:11:52 +02:00 committed by GitHub
parent 25c2c3a468
commit cf0c800492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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 |

View File

@ -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"