diff options
Diffstat (limited to 'Functions/Zle')
-rw-r--r-- | Functions/Zle/delete-whole-word-match | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/delete-whole-word-match b/Functions/Zle/delete-whole-word-match index 51314cfc0..5b31ad5b0 100644 --- a/Functions/Zle/delete-whole-word-match +++ b/Functions/Zle/delete-whole-word-match @@ -31,7 +31,7 @@ fi if [[ -n "${matched_words[4]}" ]]; then # There's whitespace at the cursor position, so only delete # up to the cursor position. - pos2=$CURSOR + (( pos2 = CURSOR + 1 )) else # No whitespace at the cursor position, so delete the # current character and any following wordcharacters. |