aboutsummaryrefslogtreecommitdiff
path: root/vis-complete
diff options
context:
space:
mode:
authorRandy Palamar <palamar@ualberta.ca>2023-09-27 19:55:03 -0600
committerRandy Palamar <palamar@ualberta.ca>2023-09-27 20:23:29 -0600
commit312a16ea59000e63db477d3adfcf8e59ea09f478 (patch)
tree6a37016cc7d12ad4df233930dc3fc29036e264ef /vis-complete
parent2dcd9ac8d19a6f4fd9b04f198d57d5a4a2ce2696 (diff)
downloadvis-312a16ea59000e63db477d3adfcf8e59ea09f478.tar.gz
vis-312a16ea59000e63db477d3adfcf8e59ea09f478.tar.xz
vis-complete: also split on `\`
suggested in [0] since it will be help for latex [0]: https://github.com/martanne/vis/commit/dac6a7e#comments
Diffstat (limited to 'vis-complete')
-rwxr-xr-xvis-complete2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-complete b/vis-complete
index b9e4357..db925f6 100755
--- a/vis-complete
+++ b/vis-complete
@@ -48,7 +48,7 @@ fi
PATTERN="$1"
if [ $COMPLETE_WORD = 1 ]; then
- tr -s '\t {}()[],<>%^&.' '\n' |
+ tr -s '\t {}()[],<>%^&.\\' '\n' |
grep "^$(basic_regex_quote "$PATTERN")." |
sort -u
else