tide (fish prompt) installed
This commit is contained in:
parent
142fd7eaa4
commit
e83440486a
85 changed files with 2589 additions and 62 deletions
4
.config/fish/functions/_tide_item_kubectl.fish
Normal file
4
.config/fish/functions/_tide_item_kubectl.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function _tide_item_kubectl
|
||||
kubectl config view --minify --output 'jsonpath={.current-context}/{..namespace}' 2>/dev/null | read -l context &&
|
||||
_tide_print_item kubectl $tide_kubectl_icon' ' (string replace -r '/(|default)$' '' $context)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue