Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] kill-word-match: Join kills
- X-seq: zsh-workers 37295
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] kill-word-match: Join kills
- Date: Thu, 3 Dec 2015 23:31:08 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=c6R I83G5mfNZgsxPa8hJ/rxRkxg=; b=M/XeF1eVS1LppOLNnxmrsvpaI7eCg12Kelv bAqt0HKMNd1lERZISB861oh/oLa3Vwx4W7WjTJg7E0o6JGIMg0E5dzmSJSYw85t6 qWOiymSMCnXdV0ZtU6WVQHZAv4yxLt+YhdDKfsuL5Xh3CATIBKz5JJwM9NEj1zrJ lnBZiTks=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=c6 RI83G5mfNZgsxPa8hJ/rxRkxg=; b=GBvnf/7wxUaR3KVAnU+e9+jIuahJ7IAAnZ L3CVvZdcAYokTtRwyliUF+F4+/eflcLLKXW+zOXTsWzm9prUgzlMhp8cwwdk8T07 JPvfHdNYVmI9Cd19irlSCF+aCk4yGFCHOET5Jf26VOjSdJQsETO9+LBkO1j4KhAb Se2hcqfBU=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
I haven't tested this, but I tested a similar patch to a custom widget
and it worked as expected.
diff --git a/Functions/Zle/backward-kill-word-match b/Functions/Zle/backward-kill-word-match
index ded4db2..f04614c 100644
--- a/Functions/Zle/backward-kill-word-match
+++ b/Functions/Zle/backward-kill-word-match
@@ -32,4 +32,6 @@ while (( count-- )); do
done=1
done
+zle -f 'kill'
+
return 0
diff --git a/Functions/Zle/kill-word-match b/Functions/Zle/kill-word-match
index 30db5ab..ffc5be7 100644
--- a/Functions/Zle/kill-word-match
+++ b/Functions/Zle/kill-word-match
@@ -31,4 +31,6 @@ while (( count-- )); do
done=1
done
+zle -f 'kill'
+
return 0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author