fish: tweak fetch
This commit is contained in:
parent
cddcb06d10
commit
7443f9a2bc
|
@ -11,6 +11,9 @@ function filesize
|
|||
end
|
||||
|
||||
function _fetch
|
||||
if [ $(tput lines) -le 10 ]
|
||||
return
|
||||
end
|
||||
if which ufetch > /dev/null 2>&1 && [ "$VSCODE_INJECTION" != "1" ]
|
||||
ufetch
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue