fish: Improve nix-darwin fenv call
This commit is contained in:
parent
caa57a6973
commit
ca224fcda5
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@
|
|||
set fish_greeting
|
||||
|
||||
if test (uname) = "Darwin"; and test -z "$__NIX_DARWIN_SET_ENVIRONMENT_DONE"
|
||||
set __nifoc_nix_darwin_set_env (cat /run/current-system/etc/bashrc | grep '-set-environment' | cut -d '.' -f 2)
|
||||
set __nifoc_nix_darwin_set_env (grep '-set-environment' /run/current-system/etc/bashrc | cut -d '.' -f 2)
|
||||
fenv source "$__nifoc_nix_darwin_set_env"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue