From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/toolbox/README.md | 19 ------------------- zsh/oh-my-zsh/plugins/toolbox/kubectx.plugin.zsh | 3 --- 2 files changed, 22 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/toolbox/README.md delete mode 100644 zsh/oh-my-zsh/plugins/toolbox/kubectx.plugin.zsh (limited to 'zsh/oh-my-zsh/plugins/toolbox') diff --git a/zsh/oh-my-zsh/plugins/toolbox/README.md b/zsh/oh-my-zsh/plugins/toolbox/README.md deleted file mode 100644 index aac2bb3..0000000 --- a/zsh/oh-my-zsh/plugins/toolbox/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# toolbox plugin - -Plugin for [toolbox](https://containertoolbx.org), a tool to use containerized CLI environments. - -To use it, add `toolbox` to your plugins array in your `.zshrc` file: - -```zsh -plugins=(... toolbox) -``` - -## Prompt function - -This plugins adds `toolbox_prompt_info()` function. Using it in your prompt, it will show the toolbox indicator ⬢ (if you are running in a toolbox container), and nothing if not. - -You can use it by adding `$(toolbox_prompt_info)` to your `PROMPT` or `RPROMPT` variable: - -```zsh -RPROMPT='$(toolbox_prompt_info)' -``` diff --git a/zsh/oh-my-zsh/plugins/toolbox/kubectx.plugin.zsh b/zsh/oh-my-zsh/plugins/toolbox/kubectx.plugin.zsh deleted file mode 100644 index 8b6bf5e..0000000 --- a/zsh/oh-my-zsh/plugins/toolbox/kubectx.plugin.zsh +++ /dev/null @@ -1,3 +0,0 @@ -function toolbox_prompt_info() { - [[ -f /run/.toolboxenv ]] && echo "⬢" -} -- cgit v1.2.3-59-g8ed1b