zsh: Complete --chdir as --chdir, not as --chdir DIR

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2021-06-24 10:30:55 +01:00
parent ceea5509e3
commit 1bff67d171

View File

@@ -12,7 +12,7 @@ _bwrap_args=(
'--block-fd[Block on FD until some data to read is available]: :_guard "[0-9]#" "file descriptor to block on"' '--block-fd[Block on FD until some data to read is available]: :_guard "[0-9]#" "file descriptor to block on"'
'--cap-add[Add cap CAP when running as privileged user]:capability to add:->caps' '--cap-add[Add cap CAP when running as privileged user]:capability to add:->caps'
'--cap-drop[Drop cap CAP when running as privileged user]:capability to add:->caps' '--cap-drop[Drop cap CAP when running as privileged user]:capability to add:->caps'
'--chdir DIR[Change directory to DIR]:working directory for sandbox: _files -/' '--chdir[Change directory to DIR]:working directory for sandbox: _files -/'
'--dev-bind-try[Equal to --dev-bind but ignores non-existent SRC]:source:_files:destination:_files' '--dev-bind-try[Equal to --dev-bind but ignores non-existent SRC]:source:_files:destination:_files'
'--dev-bind[Bind mount the host path SRC on DEST, allowing device access]:source:_files:destination:_files' '--dev-bind[Bind mount the host path SRC on DEST, allowing device access]:source:_files:destination:_files'
'--dev[Mount new dev on DEST]:mount point for /dev:_files -/' '--dev[Mount new dev on DEST]:mount point for /dev:_files -/'