浏览代码

Fix man-preview completion definition

Related: #5179
Marc Cornellà 8 年之前
父节点
当前提交
9a61336d33
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/osx/osx.plugin.zsh

+ 1 - 1
plugins/osx/osx.plugin.zsh

@@ -175,7 +175,7 @@ function quick-look() {
 function man-preview() {
   man -t "$@" | open -f -a Preview
 }
-compdef man-preview=man
+compdef _man man-preview
 
 function vncviewer() {
   open vnc://$@