From 8219286e03758e8950991d5acc2ad3fb479ee5e3 Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Mon, 1 Mar 2021 18:15:26 +0100 Subject: Update shell completions bash: - remove --audit zsh: - add --mkdir + --mkfile - remove -audit and fix typo in 9b56dc8e --- src/zsh_completion/_firejail.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zsh_completion') diff --git a/src/zsh_completion/_firejail.in b/src/zsh_completion/_firejail.in index 7e8df138e..f58f0d4b9 100644 --- a/src/zsh_completion/_firejail.in +++ b/src/zsh_completion/_firejail.in @@ -76,6 +76,8 @@ _firejail_args=( '(--cpu.print)'{--cpu.print=,--cpu.print=}'[print the cpus in use name|pid]: : _all_firejails' '--list[list all sandboxes]' '(--dns)'{--dns=,--dns=}'[set DNS server]: :' + '*--mkdir=-[create a directory]:' + '*--mkfile=-[create a file]:' '(--protocol)'{--protocol=,--protocol=}'[enable protocol filter]: :' '(--join-or-start)'{--join-or-start=,--join-or-start=}'[join the sandbox or start a new one name|pid]: : _all_firejails' '(--hosts-file)'{--hosts-file=,--hosts-file=}'[use file as /etc/hosts]: : _files' @@ -112,8 +114,6 @@ _firejail_args=( '(--nice)'{--nice=,--nice=}'[set nice value]: :(1 10 15 20)' # Should be _files, a comma and files or files -/ '*'{--bind=,--bind=}'[mount-bind dirname1/filename1 on top of dirname2/filename2]: :(file1,file2 dir1,dir2)' - '--audit[audit the sandbox]' - '(--audit)'{--audit=,--audit=}'[audit the sandbox with a test-program]: :' '(--cgroup)'{--cgroup=,--cgroup=}'[place the sandbox in the specified control group]: :' '*'{--env=,--env=}'[set environment variable]: :' '(--hostname)'{--hostname=,--hostname=}'[set sandbox hostname]: :' -- cgit v1.2.3-54-g00ecf