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;
|
||||
}
|
||||
];
|
||||
interactiveShellInit = ''
|
||||
set TERM xterm-256color
|
||||
|
||||
shellInit = ''
|
||||
# Load nix shit on non-NixOS computers (yea yea laugh it up we all have legacy machines somewhere)
|
||||
if not set -q NIX_PATH
|
||||
fenv source $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||
end
|
||||
'';
|
||||
interactiveShellInit = ''
|
||||
set TERM xterm-256color
|
||||
|
||||
set -U __done_min_cmd_duration 2000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user