Add relative symlinks

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-02-10 16:56:54 +00:00
parent e16c26cd11
commit 76552af3af
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@
local config="$HOME/.kube/config"
if [[ -f "$target" && "$target" != "$config" ]]; then
ln -sf "$target" "$config"
ln -srf "$target" "$config"
echo "Switched kube context to $1"
p10k reload
else