Completion Separators

$COMP_WORDBREAKS is a string, where each character is treated as a word separators when performing word completion.

This variable is only available in functions and external commands invoked by the programmable completion.

Examples

Print $COMP_WORDBREAKS :

1
echo $COMP_WORDBREAKS

Output: "'><=;|&(:.

BashSupport Pro is a Bash IDE with support for $COMP_WORDBREAKS – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal