diff --git a/hosts/common/configs/user/console/kubernetes/default.nix b/hosts/common/configs/user/console/kubernetes/default.nix index e3db6b0..9bddbe9 100644 --- a/hosts/common/configs/user/console/kubernetes/default.nix +++ b/hosts/common/configs/user/console/kubernetes/default.nix @@ -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 diff --git a/hosts/common/configs/user/gui/gaming/scripts/steam-ln.sh b/hosts/common/configs/user/gui/gaming/scripts/steam-ln.sh index cb45dd4..bdffc77 100644 --- a/hosts/common/configs/user/gui/gaming/scripts/steam-ln.sh +++ b/hosts/common/configs/user/gui/gaming/scripts/steam-ln.sh @@ -36,7 +36,7 @@ for game in "$STEAM"/*/; do fi echo "Creating symlink for $name..." - ln -s "$game" "$GAMES/$name" + ln -srf "$game" "$GAMES/$name" done for link in "$GAMES"/*; do