docs: update
This commit is contained in:
parent
bf1176b753
commit
760afc0443
4
pfetch
4
pfetch
|
@ -262,7 +262,7 @@ ${c5}\/${c4}-____${c5}\/
|
||||||
while read -r line || [ -n "$line" ]; do
|
while read -r line || [ -n "$line" ]; do
|
||||||
ascii_height=$((ascii_height + 1))
|
ascii_height=$((ascii_height + 1))
|
||||||
ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width))
|
ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width))
|
||||||
done <<-EOF
|
done <<EOF
|
||||||
$(printf %s "$ascii" | sed 's/\[3.m//g')
|
$(printf %s "$ascii" | sed 's/\[3.m//g')
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -297,7 +297,7 @@ main() {
|
||||||
# Store the output of 'uname' to avoid calling it multiple times
|
# Store the output of 'uname' to avoid calling it multiple times
|
||||||
# throughout the script. 'read <<EOF' is the simplest way of reading
|
# throughout the script. 'read <<EOF' is the simplest way of reading
|
||||||
# a command into a list of variables.
|
# a command into a list of variables.
|
||||||
read -r os kernel <<-EOF
|
read -r os kernel <<EOF
|
||||||
$(uname -sr)
|
$(uname -sr)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user