mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 12:09:55 +00:00
Disable progress bars in stdout mode
This commit is contained in:
1
neofetch
1
neofetch
@@ -2536,6 +2536,7 @@ while [ "$1" ]; do
|
|||||||
# Stdout
|
# Stdout
|
||||||
--stdout)
|
--stdout)
|
||||||
unset info_color colors
|
unset info_color colors
|
||||||
|
unset -f bar
|
||||||
case "$2" in
|
case "$2" in
|
||||||
"--"* | "") echo "--stdout requires at least one argument"; exit ;;
|
"--"* | "") echo "--stdout requires at least one argument"; exit ;;
|
||||||
*) shift; args=("$@"); config="off" stdout ;;
|
*) shift; args=("$@"); config="off" stdout ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user