]> 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:

improve TS typescript handler
[etc/zsh.git] / .zsh / zshrc / 80-completion
index 5c5835c96674d311576a927dc229c65a07872c00..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…
 
 # 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
 
 local c
 for c ($gnu_generic_tools) compdef _gnu_generic $c
 
@@ -214,7 +215,6 @@ zstyle -e ':completion:*' special-dirs '[[ $PREFIX = (../)#(|.|..) ]] && reply=(
 # complete manual by their section
 zstyle ':completion:*:manuals' separate-sections true
 zstyle ':completion:*:manuals.*' insert-sections false
 # complete manual by their section
 zstyle ':completion:*:manuals' separate-sections true
 zstyle ':completion:*:manuals.*' insert-sections false
-zstyle ':completion:*:man:*' menu yes select
 
 # debbug #527301
 zstyle ':completion::complete:xmms2:*:values' list-grouped false
 
 # debbug #527301
 zstyle ':completion::complete:xmms2:*:values' list-grouped false