aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-24 19:08:32 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-24 19:08:32 +0300
commit36f8e0c5be71e775538792cc4bb5023103bd9c78 (patch)
tree9070fdc378294fae79a9294c372d2d466bcab12c
parent1525ff049999c86cb857cb7db135609d2786bc18 (diff)
downloadpfetch-36f8e0c5be71e775538792cc4bb5023103bd9c78.tar.gz
docs: update
-rwxr-xr-xpfetch6
1 files changed, 3 insertions, 3 deletions
diff --git a/pfetch b/pfetch
index 07543f3..2ff5975 100755
--- a/pfetch
+++ b/pfetch
@@ -75,9 +75,9 @@ log() {
#
# This is ugly, I know!
printf '[%sC[3%s;1m%s%s[3%sm[%sD[%sC%s\n' \
- "${ascii_width:--1}" "${PF_COL1:-4}" "$1" "$PF_SEP" \
- "${PF_COL2:-7}" "${#1}" "${PF_ALIGN:-$info_length}" \
- "$2"
+ "${ascii_width--1}" "${PF_COL1-4}" "$1" \
+ "$PF_SEP" "${PF_COL2-7}" "${#1}" \
+ "${PF_ALIGN-$info_length}" "$2"
# Keep track of the number of times 'log()' has been run.
: $((info_height+=1))