diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-05-16 19:19:26 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-05-16 19:19:26 -0400 |
| commit | a09679604a5db635d6598bd996a44cdfd43e7f57 (patch) | |
| tree | a17c2cd3827d8e6b93dcfb70592f63c5f92715ca | |
| parent | 42e62ec2be5e134d73799a52a644eaf8ba6a3c77 (diff) | |
| download | SwipeBehaviors-a09679604a5db635d6598bd996a44cdfd43e7f57.tar.gz | |
predictor: fix wtype for words starting with '-'
| -rwxr-xr-x | predictor.sh | 4 |
1 files 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 } |
