fish: tweak fetch
This commit is contained in:
parent
366dedae5a
commit
eaee232a2f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue