No need to escape characters in this context

Escaping was just adding \ to the list multiple times
pull/2188/head
convergedtarkus 2023-01-23 11:07:00 -06:00
parent 4fc9869012
commit c88a4bfa89
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ function _bash-it-component-completion-callback-on-init-aliases() {
fi
# skip aliases to pipes, boolean control structures and other command lists
chars=$'\|\&\;\)\(\n\<\>'
chars=$'|&;)(n<>'
if [[ "${alias_defn}" =~ [$chars] ]]; then
continue
fi