diff --git a/bash-abbr b/bash-abbr index 14f7136..c1b0c0a 100644 --- a/bash-abbr +++ b/bash-abbr @@ -144,7 +144,7 @@ _redir_or_assign_word () { _redir_in_or_out='>|<' \ _close_or_move_fd='&[[:digit:]]*-?' \ _redir_or_append_out_and_err='(&)(>>?)' \ - _heredoc_herestring_in_out_etc='>>?|<(>|<(-?|<))?' \ + _heredoc_herestring_in_out_etc='>(>|\|)?|<(>|<(-?|<))?' \ _identifier_equals='[[:alpha:]_][[:alnum:]]*=' \ _simple_unquoted_word='[^[:blank:]<>&;()|'\''"`$]+' \ _double_quoted_string='\$?"([^"]|\\")*"' \