From 50aa87219ab8b165a5d775bc8afdcc56ab579aa4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 29 Jan 2018 13:18:35 +0100 Subject: make tabbing in a-r paths work --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index 05ad770..b4d9fc6 100644 --- a/zshrc +++ b/zshrc @@ -194,6 +194,11 @@ compinit compdef _ssh ssha=ssh compdef _ssh ssh-co-dotfiles=ssh +# make tabbing in a-r paths work: +# mkdir -p test/test1/test2/test3 && chmod a-r test/test1 +# ls -l test/test1/test2/ +zstyle ':completion:*' accept-exact-dirs true + insert-comment() { BUFFER="#$BUFFER" zle accept-line -- cgit v1.2.3