From 7500bfc7577e319b4166af434fec68242940d4e4 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 14 Aug 2016 13:14:18 +1000 Subject: [PATCH] Remove travis readonly vars --- neofetch | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/neofetch b/neofetch index cb774d9a..9d6a0d22 100755 --- a/neofetch +++ b/neofetch @@ -2968,11 +2968,11 @@ getargs() { --test) info=(title underline distro kernel uptime packages shell resolution de wm wmtheme theme icons cpu cpu_usage gpu memory font disk battery song localip publicip users birthday term termfont) - readonly refresh_rate="on" - readonly shell_version="on" - readonly cpu_display="infobar" - readonly memory_display="infobar" - readonly disk_display="infobar" + refresh_rate="on" + shell_version="on" + cpu_display="infobar" + memory_display="infobar" + disk_display="infobar" printinfo() { if [ "$TRAVIS_OS_NAME" ]; then @@ -2989,10 +2989,6 @@ getargs() { info linebreak printf "%b%s" "\033[$(tput lines)H" } - - # Set the test func to readonly so a config source - # doesn't overwrite it. - readonly -f printinfo ;; -v) verbose="on" ;;