mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
fix more minixisms
This commit is contained in:
2
pfetch
2
pfetch
@@ -1160,7 +1160,7 @@ main() {
|
||||
# Print '$cursor_pos' amount of newlines to correctly position the
|
||||
# cursor. This used to be a 'printf $(seq X X)' however 'seq' is only
|
||||
# typically available (by default) on GNU based systems!
|
||||
while [ "${i:-0}" -le "${cursor_pos:-0}" ]; do
|
||||
while [ "${i:=0}" -le "${cursor_pos:-0}" ]; do
|
||||
printf '\n'
|
||||
i=$((i + 1))
|
||||
done >&6
|
||||
|
||||
Reference in New Issue
Block a user