From 254b37c0469f710f7857025434f3b4156f128c67 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Thu, 13 Jul 2023 14:28:25 +0100 Subject: [PATCH] Fix interactive --- config.fish | 8 +++++--- fish_variables | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/config.fish b/config.fish index ad369a7..b107cec 100644 --- a/config.fish +++ b/config.fish @@ -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 diff --git a/fish_variables b/fish_variables index 3b250f6..954fe3a 100755 --- a/fish_variables +++ b/fish_variables @@ -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