Remove travis readonly vars
This commit is contained in:
parent
ba569f78cd
commit
7500bfc757
14
neofetch
14
neofetch
|
@ -2968,11 +2968,11 @@ getargs() {
|
||||||
--test)
|
--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)
|
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"
|
refresh_rate="on"
|
||||||
readonly shell_version="on"
|
shell_version="on"
|
||||||
readonly cpu_display="infobar"
|
cpu_display="infobar"
|
||||||
readonly memory_display="infobar"
|
memory_display="infobar"
|
||||||
readonly disk_display="infobar"
|
disk_display="infobar"
|
||||||
|
|
||||||
printinfo() {
|
printinfo() {
|
||||||
if [ "$TRAVIS_OS_NAME" ]; then
|
if [ "$TRAVIS_OS_NAME" ]; then
|
||||||
|
@ -2989,10 +2989,6 @@ getargs() {
|
||||||
info linebreak
|
info linebreak
|
||||||
printf "%b%s" "\033[$(tput lines)H"
|
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" ;;
|
-v) verbose="on" ;;
|
||||||
|
|
Reference in New Issue