mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2025-01-22 09:44:18 +00:00
Don't set nerd font if over ssh or if fc-list is missing
This commit is contained in:
parent
13daee5e5b
commit
5753461a12
@ -36,7 +36,7 @@ if status --is-interactive
|
|||||||
eval ($HOME/bin/derive_colors.py --export --fish)
|
eval ($HOME/bin/derive_colors.py --export --fish)
|
||||||
|
|
||||||
# Check for nerd font
|
# 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
|
# Doesn't guarantee the font is in use, but it's a good guess
|
||||||
set -gx TERM_NERD_FONT 1
|
set -gx TERM_NERD_FONT 1
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user