zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] kill-word-match: Join kills
@ 2015-12-03 23:31 Daniel Shahaf
  0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2015-12-03 23:31 UTC (permalink / raw)
  To: zsh-workers

---
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-03 23:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-03 23:31 [PATCH] kill-word-match: Join kills Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).