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