]> git.madduck.net Git - etc/zsh.git/blobdiff - .zsh/zshrc/80-completion

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Minor fixes to accomodate Zsh4
[etc/zsh.git] / .zsh / zshrc / 80-completion
index e45b9fd035e8ad04c828a00b4f3dece858ac4c67..15fc43b7a864b96d9e2aae30a82fedeeb41c7ab3 100644 (file)
@@ -188,7 +188,8 @@ compdef _precommand strace
 
 # a couple commands don't yet have -option completion but
 # they're generic GNU tools, so…
-typeset -la gnu_generic_tools=(mv)
+typeset -la gnu_generic_tools
+gnu_generic_tools=(mv)
 local c
 for c ($gnu_generic_tools) compdef _gnu_generic $c
 
@@ -213,8 +214,7 @@ zstyle -e ':completion:*' special-dirs '[[ $PREFIX = (../)#(|.|..) ]] && reply=(
 
 # complete manual by their section
 zstyle ':completion:*:manuals' separate-sections true
-zstyle ':completion:*:manuals.*' insert-sections   true
-zstyle ':completion:*:man:*' menu yes select
+zstyle ':completion:*:manuals.*' insert-sections false
 
 # debbug #527301
 zstyle ':completion::complete:xmms2:*:values' list-grouped false