summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2021-06-24 10:32:41 +0100
committerSimon McVittie <smcv@collabora.com>2021-06-24 11:12:49 +0100
commit4142eaab902487e25240832b4def0c0399adbb44 (patch)
tree1c4855805112a069a64b5f046684305c4a2108a6
parentf017ad6d1e77870bd5eb5fb2a06775d79b338fb9 (diff)
downloadbubblewrap-4142eaab902487e25240832b4def0c0399adbb44.tar.gz
zsh: Add completion for --perms
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 0c8992e..a3211b9 100755
--- a/completions/zsh/_bwrap
+++ b/completions/zsh/_bwrap
@@ -30,6 +30,7 @@ _bwrap_args=(
'--lock-file[Take a lock on DEST while sandbox is running]:lock file:_files'
'--mqueue[Mount new mqueue on DEST]:mount point for mqueue:_files -/'
'--new-session[Create a new terminal session]'
+ '--perms[Set permissions for next action argument]: :_guard "[0-7]#" "permissions in octal"'
'--pidns[Use this user namespace (as parent namespace if using --unshare-pid)]: :'
'--proc[Mount new procfs on DEST]:mount point for procfs:_files -/'
'--remount-ro[Remount DEST as readonly; does not recursively remount]:mount point to remount read-only:_files'