Fix interactive

This commit is contained in:
2023-07-13 14:28:25 +01:00
parent c16ecd1495
commit 254b37c046
2 changed files with 7 additions and 5 deletions

View File

@@ -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