load nix path in non-interactive fish shells too
This commit is contained in:
parent
81b226d1b3
commit
304944f6f9
@ -47,13 +47,14 @@ inputs:
|
|||||||
src = inputs.bobthefish;
|
src = inputs.bobthefish;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
interactiveShellInit = ''
|
shellInit = ''
|
||||||
set TERM xterm-256color
|
|
||||||
|
|
||||||
# Load nix shit on non-NixOS computers (yea yea laugh it up we all have legacy machines somewhere)
|
# Load nix shit on non-NixOS computers (yea yea laugh it up we all have legacy machines somewhere)
|
||||||
if not set -q NIX_PATH
|
if not set -q NIX_PATH
|
||||||
fenv source $HOME/.nix-profile/etc/profile.d/nix.sh
|
fenv source $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||||
end
|
end
|
||||||
|
'';
|
||||||
|
interactiveShellInit = ''
|
||||||
|
set TERM xterm-256color
|
||||||
|
|
||||||
set -U __done_min_cmd_duration 2000
|
set -U __done_min_cmd_duration 2000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user