diff options
author | Peter Palfrader <peter@palfrader.org> | 2018-01-29 13:18:35 +0100 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2018-01-29 13:18:35 +0100 |
commit | 50aa87219ab8b165a5d775bc8afdcc56ab579aa4 (patch) | |
tree | c2ce7196da99563af446d8d8f85a3529fe84304b | |
parent | 7d658d84c44d6ce4e16c1dd06607402d5e7d2774 (diff) |
make tabbing in a-r paths work
-rw-r--r-- | zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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/<tab><tab> +zstyle ':completion:*' accept-exact-dirs true + insert-comment() { BUFFER="#$BUFFER" zle accept-line |