summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2021-06-24 10:31:58 +0100
committerSimon McVittie <smcv@collabora.com>2021-06-24 11:12:49 +0100
commitf017ad6d1e77870bd5eb5fb2a06775d79b338fb9 (patch)
tree5136f1f2289825be9c1b8979b3ab4e6a82a4f166
parent1bff67d1715e320906583c6da7362a0ad5b4d78b (diff)
downloadbubblewrap-f017ad6d1e77870bd5eb5fb2a06775d79b338fb9.tar.gz
zsh: Add completion for --chmod
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rwxr-xr-xcompletions/zsh/_bwrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/completions/zsh/_bwrap b/completions/zsh/_bwrap
index 9781d7a..0c8992e 100755
--- a/completions/zsh/_bwrap
+++ b/completions/zsh/_bwrap
@@ -13,6 +13,7 @@ _bwrap_args=(
'--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'
'--chdir[Change directory to DIR]:working directory for sandbox: _files -/'
+ '--chmod[Set permissions]: :_guard "[0-7]#" "permissions in octal":path to set permissions:_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[Mount new dev on DEST]:mount point for /dev:_files -/'