vanadium/fish: source custom environment by default

This commit is contained in:
Primrose 2025-05-10 19:35:50 +02:00
parent 6b71947f89
commit 993b107455
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -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;