From bc3f414ab89da36c429647af3253e1cf8313e851 Mon Sep 17 00:00:00 2001 From: tsi Date: Tue, 21 Oct 2025 00:40:59 +0200 Subject: [PATCH] #1: Allow _opening_paren control operator at the beginning of a line --- bash-abbr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-abbr b/bash-abbr index 975b791..5a15319 100644 --- a/bash-abbr +++ b/bash-abbr @@ -19,7 +19,7 @@ _control_op () { _bg_proc_or_and_and='[^&;]&&?' \ _pipe_or_or_or='[^&|;]\|\|?' \ _semicolon_or_case_operators='[^;|];;?&?' \ - _opening_paren='[^[:alnum:]]\(' + _opening_paren='(^|[^[:alnum:]])\(' declare _control_op="^" _control_op+="|$_newline" _control_op+="|$_bg_proc_or_and_and"