dotfiles/_home/private_dot_config/sz.env/fix-kubectl.env

8 lines
264 B
Bash
Raw Normal View History

2024-09-19 04:31:48 +00:00
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
2024-11-25 02:54:37 +00:00
if is_cmd szetup-kubectl4k3s && [ "$(systemctl is-active k3s.service)" = "active" ]; then
. <( szetup-kubectl4k3s - )
[[ -n "${DBG}" ]] && echo "kubectl for k3s setup complete."
2024-09-19 04:31:48 +00:00
fi