|
@@ -14,7 +14,7 @@ local right=''
|
|
if [ -n "$IN_NIX_SHELL" ]; then
|
|
if [ -n "$IN_NIX_SHELL" ]; then
|
|
right+="$nix"
|
|
right+="$nix"
|
|
fi
|
|
fi
|
|
-if type kubectl > /dev/null; then
|
|
|
|
|
|
+if [ -n "$IN_K8S" ]; then
|
|
right+="$k8s"
|
|
right+="$k8s"
|
|
fi
|
|
fi
|
|
local error='%F{red}%B%?%b%f'
|
|
local error='%F{red}%B%?%b%f'
|