summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/znt-kill-widget
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/zsh-navigation-tools/znt-kill-widget')
-rw-r--r--plugins/zsh-navigation-tools/znt-kill-widget8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/zsh-navigation-tools/znt-kill-widget b/plugins/zsh-navigation-tools/znt-kill-widget
new file mode 100644
index 000000000..1aff7bb50
--- /dev/null
+++ b/plugins/zsh-navigation-tools/znt-kill-widget
@@ -0,0 +1,8 @@
+autoload znt-usetty-wrapper n-kill
+local NLIST_START_IN_SEARCH_MODE=0
+local NLIST_START_IN_UNIQ_MODE=0
+
+znt-usetty-wrapper n-kill "$@"
+
+unset NLIST_START_IN_SEARCH_MODE
+unset NLIST_START_IN_UNIQ_MODE