mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/fish: source custom environment by default
This commit is contained in:
parent
6b71947f89
commit
993b107455
1 changed files with 12 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue