diff --git a/config.fish b/config.fish index b5c2bcf..8075fcb 100644 --- a/config.fish +++ b/config.fish @@ -11,9 +11,12 @@ function filesize end function _fetch - if which ufetch > /dev/null 2>&1 && [ "$VSCODE_INJECTION" != "1" ] - ufetch - end + if [ $(tput lines) -le 10 ] + return + end + if which ufetch > /dev/null 2>&1 && [ "$VSCODE_INJECTION" != "1" ] + ufetch + end end function _set_env