diff --git a/vis-complete b/vis-complete index db925f695..a6829edc0 100755 --- a/vis-complete +++ b/vis-complete @@ -48,7 +48,7 @@ fi PATTERN="$1" if [ $COMPLETE_WORD = 1 ]; then - tr -s '\t {}()[],<>%^&.\\' '\n' | + sed -E 's/([^[:alnum:]_])/\n/g' | grep "^$(basic_regex_quote "$PATTERN")." | sort -u else