diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 13:27:33 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 13:27:33 +0300 |
| commit | 6fa9ec61ad9365548ad9a4b96c10d7c14e77b26b (patch) | |
| tree | 112dccabcaa771e6ce11b5d52c9aa2de215bf52e | |
| parent | ca69c0390cd4094f46071b9a23cb4dce0c1bba75 (diff) | |
| download | pfetch-6fa9ec61ad9365548ad9a4b96c10d7c14e77b26b.tar.gz | |
pfetch: escape control chars
| -rwxr-xr-x | pfetch | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -258,10 +258,10 @@ main() { # Disable warning about unused variables. # shellcheck disable=2034 { - c1=[31m; c2=[32m - c3=[33m; c4=[34m - c5=[35m; c6=[36m - c7=[37m; c8=[38m + c1='[31m'; c2='[32m' + c3='[33m'; c4='[34m' + c5='[35m'; c6='[36m' + c7='[37m'; c8='[38m' } # Store the output of 'uname' to avoid calling it multiple times |
