Browse Source

feat(toolbox): alias for `toolbox enter`

Ilya Maximov 1 year ago
parent
commit
ed03e7127f
2 changed files with 8 additions and 0 deletions
  1. 6 0
      plugins/toolbox/README.md
  2. 2 0
      plugins/toolbox/toolbox.plugin.zsh

+ 6 - 0
plugins/toolbox/README.md

@@ -17,3 +17,9 @@ You can use it by adding `$(toolbox_prompt_info)` to your `PROMPT` or `RPROMPT`
 ```zsh
 RPROMPT='$(toolbox_prompt_info)'
 ```
+
+## Aliases
+
+| Alias | Command              | Description                            |
+|-------|----------------------|----------------------------------------|
+| tb    | `toolbox enter`      | Enters the toolbox environment         |

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

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