Fix interactive
This commit is contained in:
@@ -95,8 +95,10 @@ alias nshell "nix-shell --run fish"
|
||||
# opam configuration
|
||||
source /home/andr3/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
||||
|
||||
if ! test $NOT_SAFE
|
||||
if ! test -n "$IN_NIX_SHELL"
|
||||
hyfetch
|
||||
if status is-interactive
|
||||
if ! test $NOT_SAFE
|
||||
if ! test -n "$IN_NIX_SHELL"
|
||||
hyfetch
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user