From a09679604a5db635d6598bd996a44cdfd43e7f57 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Mon, 16 May 2022 19:19:26 -0400 Subject: predictor: fix wtype for words starting with '-' --- predictor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/predictor.sh b/predictor.sh index 931ce88..b59e1fa 100755 --- a/predictor.sh +++ b/predictor.sh @@ -19,9 +19,9 @@ saveWord(){ typeSomehow(){ while read -r word; do if test -e "$complete"; then - test -n "${word:1}" && wtype "${word:1}" + test -n "${word:1}" && wtype -- "${word:1}" else - wtype "$word" + wtype -- "$word" fi done } -- cgit 1.4.1