mirror of
https://github.com/danbulant/nekofetch
synced 2026-06-22 08:01:50 +00:00
Use -n instead of ! -z
This commit is contained in:
parent
1dd055787f
commit
be00f74518
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ else
|
|||
imgurl="https://nekos.life/api/v2/img/neko"
|
||||
fi
|
||||
|
||||
if [ ! -z "$use_height" ]; then
|
||||
if [ -n "$use_height" ]; then
|
||||
height="$use_height"
|
||||
else
|
||||
height="$(($(stty size | awk '{print $1}') - 5))"
|
||||
|
|
|
|||
Loading…
Reference in a new issue