diff options
author | Ilya Maximov <mail@overlisted.net> | 2022-05-08 17:29:02 +0200 |
---|---|---|
committer | Marc CornellĂ <hello@mcornella.com> | 2022-06-15 16:14:19 +0200 |
commit | ed03e7127f392bb3ee51ed971e9f2c76984bb761 (patch) | |
tree | a0d5ff6183b19c37c79fcc37881922d28fb6d143 /plugins/toolbox | |
parent | 0866f4daf4f55a52c1979002627f1bf61aa1e1c6 (diff) | |
download | zsh-ed03e7127f392bb3ee51ed971e9f2c76984bb761.tar.gz zsh-ed03e7127f392bb3ee51ed971e9f2c76984bb761.tar.bz2 zsh-ed03e7127f392bb3ee51ed971e9f2c76984bb761.zip |
feat(toolbox): alias for `toolbox enter`
Diffstat (limited to 'plugins/toolbox')
-rw-r--r-- | plugins/toolbox/README.md | 6 | ||||
-rw-r--r-- | plugins/toolbox/toolbox.plugin.zsh | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/toolbox/README.md b/plugins/toolbox/README.md index aac2bb3b0..abaca31f4 100644 --- a/plugins/toolbox/README.md +++ b/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 | diff --git a/plugins/toolbox/toolbox.plugin.zsh b/plugins/toolbox/toolbox.plugin.zsh index 8b6bf5ecd..d24d6d396 100644 --- a/plugins/toolbox/toolbox.plugin.zsh +++ b/plugins/toolbox/toolbox.plugin.zsh @@ -1,3 +1,5 @@ function toolbox_prompt_info() { [[ -f /run/.toolboxenv ]] && echo "⬢" } + +alias tb="toolbox enter" |