diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-07 14:43:23 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-07 14:43:23 +0000 |
commit | 9deb9a4e9675040e581034e2227397181264ce0b (patch) | |
tree | 52d00268acf3798f1f693420ec65991c3eba3764 | |
parent | 1b47d4b48210e29ac6376a36a8d09ab83d9b3eb1 (diff) | |
download | zsh-9deb9a4e9675040e581034e2227397181264ce0b.tar.gz zsh-9deb9a4e9675040e581034e2227397181264ce0b.tar.xz zsh-9deb9a4e9675040e581034e2227397181264ce0b.zip |
18824: kill-word-match deleted to end of line.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Functions/Zle/kill-word-match | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 08b898789..13655b070 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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: diff --git a/Functions/Zle/kill-word-match b/Functions/Zle/kill-word-match index 9d21c4a15..1bee0708a 100644 --- a/Functions/Zle/kill-word-match +++ b/Functions/Zle/kill-word-match @@ -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 |