mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
misc: cleanup
This commit is contained in:
2
pfetch
2
pfetch
@@ -807,7 +807,7 @@ get_ascii() {
|
|||||||
# The " " acts as the padding between the ascii art and the text as
|
# The " " acts as the padding between the ascii art and the text as
|
||||||
# it appends 3 spaces to the end of each line.
|
# it appends 3 spaces to the end of each line.
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
ascii_height=$((ascii_height + 1))
|
: $((ascii_height+=1))
|
||||||
ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width))
|
ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width))
|
||||||
|
|
||||||
# Using '<<-EOF' is the only way to loop over a command's
|
# Using '<<-EOF' is the only way to loop over a command's
|
||||||
|
|||||||
Reference in New Issue
Block a user