diff --git a/git-secrets b/git-secrets index e46ba8c..440fc4a 100755 --- a/git-secrets +++ b/git-secrets @@ -341,9 +341,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)