diff --git a/git-secrets b/git-secrets index bcf7ac8..f9f856b 100755 --- a/git-secrets +++ b/git-secrets @@ -391,9 +391,9 @@ case "${COMMAND}" in --scan-history) scan_with_fn_or_die "scan_history" "$@" ;; --list) if [ ${GLOBAL} -eq 1 ]; then - git config --global --get-regex secrets.* + git config --global --get-regex 'secrets.*' else - git config --get-regex secrets.* + git config --get-regex 'secrets.*' fi ;; --install)