Fix weird whitespace issues with cores
This commit is contained in:
parent
f847d9ee22
commit
0c5869da38
2
neofetch
2
neofetch
|
@ -903,7 +903,7 @@ getcpu () {
|
||||||
|
|
||||||
# Add cpu cores to output
|
# Add cpu cores to output
|
||||||
[ "$cpu_cores" == "on" ] && [ ! -z "$cores" ] && \
|
[ "$cpu_cores" == "on" ] && [ ! -z "$cores" ] && \
|
||||||
cpu=${cpu/@/\(${cores}\) @}
|
cpu=${cpu/ @/ \(${cores}\) @}
|
||||||
|
|
||||||
# Make the output of cpu shorter
|
# Make the output of cpu shorter
|
||||||
case "$cpu_shorthand" in
|
case "$cpu_shorthand" in
|
||||||
|
|
Reference in New Issue