A Tide extension to enable Powerlevel10k's awesome show on command
feature.
With Fisher:
fisher install branchvincent/tide-show-on-cmd
First, add our item to the prompt:
set -a tide_right_prompt_items kubectl
Then, enable it to only show on certain commands:
set -gx tide_show_kubectl_on kubectl helm kubens kubectx stern
Note, this implementation is very naive compared to Powerlevel10k as the current commandline is only queried when a space is entered.