aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2020-03-12 22:02:40 +0200
committerDylan Araps <dylan.araps@gmail.com>2020-03-12 22:02:40 +0200
commite30fc1075c679d3ab9e7db7c41beeed25dbe0784 (patch)
tree76aa24c6d2458194a3b8a27c3bb6bee4c935ed50
parent3a33033120cfd8a30af6b1d753a6da935ee75b3f (diff)
downloadpfetch-e30fc1075c679d3ab9e7db7c41beeed25dbe0784.tar.gz
pfetch: Use -- with set
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index 9ca2b75..dae4303 100755
--- a/pfetch
+++ b/pfetch
@@ -1519,7 +1519,7 @@ main() {
# Disable globbing and set the positional parameters to the
# contents of 'PF_INFO'.
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
# "info names" for output alignment. The option names and subtitles