From 50113a53f379b7d98e6921ba58e8440324beb32c Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Tue, 22 Mar 2022 22:39:37 +0100 Subject: feat(toolbox): add plugin to show `toolbox` prompt info (#10685) --- plugins/toolbox/kubectx.plugin.zsh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 plugins/toolbox/kubectx.plugin.zsh (limited to 'plugins/toolbox/kubectx.plugin.zsh') diff --git a/plugins/toolbox/kubectx.plugin.zsh b/plugins/toolbox/kubectx.plugin.zsh new file mode 100644 index 000000000..8b6bf5ecd --- /dev/null +++ b/plugins/toolbox/kubectx.plugin.zsh @@ -0,0 +1,3 @@ +function toolbox_prompt_info() { + [[ -f /run/.toolboxenv ]] && echo "⬢" +} -- cgit v1.2.3-70-g09d2