From 5753461a12f14d7ac3a8fc461a8872c2c19f3337 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 6 Jan 2025 22:28:08 -0800 Subject: [PATCH] Don't set nerd font if over ssh or if fc-list is missing --- assets/default/fish/init/env.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/default/fish/init/env.fish b/assets/default/fish/init/env.fish index 68e4d33..a2f9aad 100644 --- a/assets/default/fish/init/env.fish +++ b/assets/default/fish/init/env.fish @@ -36,7 +36,7 @@ if status --is-interactive eval ($HOME/bin/derive_colors.py --export --fish) # Check for nerd font - if fc-list -q 'Symbols Nerd Font' + if not set -q SSH_TTY ;and command -q fc-list ;and fc-list -q 'Symbols Nerd Font' # Doesn't guarantee the font is in use, but it's a good guess set -gx TERM_NERD_FONT 1 end