diff --git a/bash-abbr b/bash-abbr index 8d27df8..3c859cb 100644 --- a/bash-abbr +++ b/bash-abbr @@ -168,7 +168,7 @@ _redir_or_assign_word () { _part+="|$_arithmetic_eval" _part+="|$_process_substition" _part+="|$_escaped_char" - declare -r _word="($_part)+" \ + declare -r _word="($_part)*" \ _close_redirection="($_varredir_or_number)($_redir_in_or_out)($_close_or_move_fd)" \ _generic_redirection="($_redir_or_append_out_and_err|($_varredir_or_number)($_heredoc_herestring_in_out_etc))" # shellcheck disable=SC1087