adds nix to shell
This commit is contained in:
parent
acd1d6719e
commit
7dce49cb2b
1 changed files with 3 additions and 1 deletions
|
|
@ -175,10 +175,12 @@
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
setup_path = /* fish */ ''
|
setup_path = /* fish */ ''
|
||||||
|
set -l os uname
|
||||||
|
|
||||||
fish_add_path /run/wrappers/bin
|
fish_add_path /run/wrappers/bin
|
||||||
fish_add_path /run/current-system/sw/bin
|
fish_add_path /run/current-system/sw/bin
|
||||||
|
|
||||||
if test "$uname" = "Darwin"
|
if test "$os" = "Darwin"
|
||||||
fish_add_path /nix/var/nix/profiles/default/bin
|
fish_add_path /nix/var/nix/profiles/default/bin
|
||||||
setup_homebrew
|
setup_homebrew
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue