fish: fix sourcing errors on ssh servers

This commit is contained in:
2025-12-06 18:13:11 +01:00
parent b4e8dcd75a
commit ed5688306b
3 changed files with 14 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
if test $XDG_CURRENT_DESKTOP = "niri"
if test -n "$XDG_CURRENT_DESKTOP"; and test "$XDG_CURRENT_DESKTOP" = "niri"
set -l env_config "$HOME/.config/niri/config/envs.kdl"
if test -f "$env_config"