mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
pfetch: Remove non-posix dot
This commit is contained in:
4
pfetch
4
pfetch
@@ -22,7 +22,7 @@ log() {
|
|||||||
info=$*
|
info=$*
|
||||||
}
|
}
|
||||||
|
|
||||||
align=$(printf '%*.s' "$((${#name}-info_length))" "")
|
align=$(printf '%*s' "$((${#name}-info_length))" "")
|
||||||
|
|
||||||
# Construct the information string.
|
# Construct the information string.
|
||||||
out="[3${PF_COL1-4};1m${name}[m"
|
out="[3${PF_COL1-4};1m${name}[m"
|
||||||
@@ -1401,7 +1401,7 @@ main() {
|
|||||||
while IFS= read -r line || [ "$1" ]; do
|
while IFS= read -r line || [ "$1" ]; do
|
||||||
"get_$1"
|
"get_$1"
|
||||||
shift "$(($# ? 1 : 0))"
|
shift "$(($# ? 1 : 0))"
|
||||||
printf '%*.s%s\r%s\n' "$ascii_width" "" "$out" "$line" >&6
|
printf '%*s%s\r%s\n' "$ascii_width" "" "$out" "$line" >&6
|
||||||
out=
|
out=
|
||||||
done <<-EOF
|
done <<-EOF
|
||||||
$ascii[m
|
$ascii[m
|
||||||
|
|||||||
Reference in New Issue
Block a user