瀏覽代碼

Merge pull request #523 from eza-community/cafk-fix-zsh-completions

fix(completions): fix zsh completions
Christina Sørensen 2 年之前
父節點
當前提交
46ac077402
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      completions/zsh/_eza

+ 1 - 1
completions/zsh/_eza

@@ -11,7 +11,7 @@ __eza() {
     # `-S` for delimiting options with `--` like in `eza -- -a`.
     _arguments -s -S \
         "(- *)"{-v,--version}"[Show version of eza]" \
-        "(- *)"{--help}"[Show list of command-line options]" \
+        "(- *)"--help"[Show list of command-line options]" \
         {-1,--oneline}"[Display one entry per line]" \
         {-l,--long}"[Display extended file metadata as a table]" \
         {-G,--grid}"[Display entries as a grid]" \