summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/znt-cd-widget
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2015-11-30 09:50:37 +0100
committerMarc Cornellà <marc.cornella@live.com>2015-11-30 09:50:37 +0100
commitafd28bf1fc22f53c4a1af3f5836ca428affb34b3 (patch)
tree9f56960cbb4e2074d405e4be587a1658a6cc2159 /plugins/zsh-navigation-tools/znt-cd-widget
parentfea74b4b34412cca1b0bc3ec232e5ec8c602ee8a (diff)
parent4c292ea2b023a331dcf1af5644487f2272d24a4d (diff)
downloadzsh-afd28bf1fc22f53c4a1af3f5836ca428affb34b3.tar.gz
zsh-afd28bf1fc22f53c4a1af3f5836ca428affb34b3.tar.bz2
zsh-afd28bf1fc22f53c4a1af3f5836ca428affb34b3.zip
Merge pull request #4368 from psprint/master
Update Zsh Navigation Tools plugin
Diffstat (limited to 'plugins/zsh-navigation-tools/znt-cd-widget')
-rw-r--r--plugins/zsh-navigation-tools/znt-cd-widget8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/zsh-navigation-tools/znt-cd-widget b/plugins/zsh-navigation-tools/znt-cd-widget
new file mode 100644
index 000000000..6d1be6bff
--- /dev/null
+++ b/plugins/zsh-navigation-tools/znt-cd-widget
@@ -0,0 +1,8 @@
+autoload znt-usetty-wrapper n-cd
+local NLIST_START_IN_SEARCH_MODE=0
+local NLIST_START_IN_UNIQ_MODE=0
+
+znt-usetty-wrapper n-cd "$@"
+
+unset NLIST_START_IN_SEARCH_MODE
+unset NLIST_START_IN_UNIQ_MODE