From d7a16372143ca45bc34bdafb2c75aef80421c07f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 10 May 2025 22:03:52 +0200 Subject: [PATCH] fish: append path --- nix/configurations/vanadium/home/programs.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/configurations/vanadium/home/programs.nix b/nix/configurations/vanadium/home/programs.nix index 7f323b7a..82f35155 100644 --- a/nix/configurations/vanadium/home/programs.nix +++ b/nix/configurations/vanadium/home/programs.nix @@ -48,7 +48,8 @@ in { if test -d ~/.environments for file in ~/.environments/* if not string match -q --regex -- '-link$' $file - fish_add_path $file/bin || true + # Append so if invoked from a nix shell, doesn't mess with the shell's specific paths + fish_add_path --append $file/bin end end end