pfetch: Use -- with set

This commit is contained in:
Dylan Araps 2020-03-12 22:02:40 +02:00
parent 3a33033120
commit e30fc1075c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
pfetch
View File

@ -1519,7 +1519,7 @@ main() {
# Disable globbing and set the positional parameters to the # Disable globbing and set the positional parameters to the
# contents of 'PF_INFO'. # contents of 'PF_INFO'.
set -f set -f
set +f ${PF_INFO-ascii title os host kernel uptime pkgs memory} set +f -- ${PF_INFO-ascii title os host kernel uptime pkgs memory}
# Iterate over the info functions to determine the lengths of the # Iterate over the info functions to determine the lengths of the
# "info names" for output alignment. The option names and subtitles # "info names" for output alignment. The option names and subtitles