No need to escape characters in this context
Escaping was just adding \ to the list multiple timespull/2188/head
parent
4fc9869012
commit
c88a4bfa89
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue