Skip to content

how to display a fallback logo when the one set in config isn't supported by terminal? #1109

Answered by CarterLi
GrassBlock1 asked this question in Q&A
Discussion options

You must be logged in to vote
function fish_greeting
    if [ $TERM = xterm-kitty ]
        fastfetch -c $__fish_config_dir/motd.jsonc
    else
        fastfetch -c $__fish_config_dir/motd.jsonc --logo-type builtin
    end
end

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@GrassBlock1
Comment options

@CarterLi
Comment options

@GrassBlock1
Comment options

Answer selected by GrassBlock1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants