Browse Source

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

François M 1 year ago
parent
commit
cf0c800492
2 changed files with 4 additions and 2 deletions
  1. 2 1
      plugins/toolbox/README.md
  2. 2 1
      plugins/toolbox/toolbox.plugin.zsh

+ 2 - 1
plugins/toolbox/README.md

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

+ 2 - 1
plugins/toolbox/toolbox.plugin.zsh

@@ -2,4 +2,5 @@ function toolbox_prompt_info() {
   [[ -f /run/.toolboxenv ]] && echo "⬢"
 }
 
-alias tb="toolbox enter"
+alias tbe="toolbox enter"
+alias tbr="toolbox run"