Fix interactive

This commit is contained in:
Andre Henriques 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

View File

@ -7,7 +7,7 @@ SETUVAR _fisher_plugins:jorgebucaran/nvm\x2efish
SETUVAR _fisher_upgraded_to_4_4:\x1d
SETUVAR fish_color_autosuggestion:BD93F9
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:F8F8F2
SETUVAR fish_color_command:36C4FC
SETUVAR fish_color_comment:6272A4
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
@ -21,7 +21,7 @@ SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:00a6b2
SETUVAR fish_color_param:FF79C6
SETUVAR fish_color_quote:F1FA8C
SETUVAR fish_color_quote:55CDFD
SETUVAR fish_color_redirection:8BE9FD
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack