1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-15 18:30:08 +00:00

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 |
|-------|----------------------|----------------------------------------|
| 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 "⬢"
}
alias tb="toolbox enter"
alias tbe="toolbox enter"
alias tbr="toolbox run"