pfetch: escape control chars
This commit is contained in:
parent
ca69c0390c
commit
6fa9ec61ad
8
pfetch
8
pfetch
|
@ -258,10 +258,10 @@ main() {
|
||||||
# Disable warning about unused variables.
|
# Disable warning about unused variables.
|
||||||
# shellcheck disable=2034
|
# shellcheck disable=2034
|
||||||
{
|
{
|
||||||
c1=[31m; c2=[32m
|
c1='[31m'; c2='[32m'
|
||||||
c3=[33m; c4=[34m
|
c3='[33m'; c4='[34m'
|
||||||
c5=[35m; c6=[36m
|
c5='[35m'; c6='[36m'
|
||||||
c7=[37m; c8=[38m
|
c7='[37m'; c8='[38m'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Store the output of 'uname' to avoid calling it multiple times
|
# Store the output of 'uname' to avoid calling it multiple times
|
||||||
|
|
Loading…
Reference in New Issue
Block a user