From 43f68fefd32aa1843ca9dde6e8dedab87dcbe275 Mon Sep 17 00:00:00 2001 From: tsi Date: Sat, 3 Jan 2026 01:22:28 +0100 Subject: [PATCH] Add clobbering (>|) output redirection --- bash-abbr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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='\$?"([^"]|\\")*"' \