diff --git a/nix/configurations/vanadium/home/programs.nix b/nix/configurations/vanadium/home/programs.nix index aa8e9f53..8bac4c79 100644 --- a/nix/configurations/vanadium/home/programs.nix +++ b/nix/configurations/vanadium/home/programs.nix @@ -50,7 +50,18 @@ in { programs = { neovim.enable = true; neovim.defaultEditor = true; - fish.enable = true; + fish = { + enable = true; + shellInitLast = '' + if test -d ~/.environments + for file in ~/.environments/* + if not string match -q --regex -- '-link$' $file + fish_add_path $file/bin || true + end + end + end + ''; + }; starship.enable = true; tmux.enable = true; direnv.enable = true;