Skip to content
Myr

Add a couple of options to zsh completion

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--no-ignore-parent and --strip-cwd-prefix

authored by Thayne McCombs · committed by David Peter · parent c800c79 · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:contrib/completion/_fd+4 added
55 unmodified lines
5657 + no-ignore-partial # some ignore files58 "(no-ignore-full --no-ignore-vcs)--no-ignore-vcs[don't respect .gitignore files]"59 "!(no-ignore-full --no-global-ignore-file)--no-global-ignore-file[don't respect the global ignore file]"60 $no'(no-ignore-full --no-ignore-parent)--no-ignore-parent[]'6162 + '(case)' # case-sensitivity63 {-s,--case-sensitive}'[perform a case-sensitive search]'64 {-i,--ignore-case}'[perform a case-insensitive search]'
89 unmodified lines
154 + search-path155 $no'(--base-directory)--base-directory=[change the current working directory to the given path]:directory:_files -/'156 $no'(*)*--search-path=[set search path (instead of positional <path> arguments)]:directory:_files -/'157158 + strip-cwd-prefix159 $no'(strip-cwd-prefix exec-cmds)--strip-cwd-prefix[Strip ./ prefix when output is redirected]'160161 + args # positional arguments162 '1: :_guard "^-*" pattern'163 '(--search-path)*:directory:_files -/'164 )
109 unmodified lines