mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-19 18:37:12 +00:00
Args: Fix regex
This commit is contained in:
2
neofetch
2
neofetch
@@ -3133,7 +3133,7 @@ exit 1
|
|||||||
|
|
||||||
get_args() {
|
get_args() {
|
||||||
# Check the commandline flags early for '--config none/off'
|
# Check the commandline flags early for '--config none/off'
|
||||||
[[ "$@" =~ \-\-config\ ?(off|none) ]] || get_user_config 2>/dev/null
|
[[ "$@" =~ --config\ ?(off|none) ]] || get_user_config 2>/dev/null
|
||||||
|
|
||||||
while [[ "$1" ]]; do
|
while [[ "$1" ]]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|||||||
Reference in New Issue
Block a user