1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

18824: kill-word-match deleted to end of line.

This commit is contained in:
Peter Stephenson 2003-07-07 14:43:23 +00:00
parent 1b47d4b482
commit 9deb9a4e96
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-07-07 Peter Stephenson <pws@csr.com>
* 18824: Functions/Zle/kill-word-match: deleted to the end
of the line owing to typo with substitution.
2003-07-07 Oliver Kiddle <opk@zsh.org>
* spotted by Bart: 18817: Functions/Prompts/prompt_adam2_setup:

View file

@ -26,7 +26,7 @@ while (( count-- )); do
killring=("$CUTBUFFER" "${(@)killring[1,-2]}")
CUTBUFFER=$word
fi
RBUFFER=$matched_words[6]
RBUFFER=${(j..)matched_words[6,7]}
else
return 1
fi