diff options
author | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-03-01 18:15:26 +0100 |
---|---|---|
committer | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-03-01 18:15:26 +0100 |
commit | 8219286e03758e8950991d5acc2ad3fb479ee5e3 (patch) | |
tree | a37724603d7631932834b79739a8b68d445d60e4 /src/zsh_completion/_firejail.in | |
parent | some cleanup (diff) | |
download | firejail-8219286e03758e8950991d5acc2ad3fb479ee5e3.tar.gz firejail-8219286e03758e8950991d5acc2ad3fb479ee5e3.tar.zst firejail-8219286e03758e8950991d5acc2ad3fb479ee5e3.zip |
Update shell completions
bash:
- remove --audit
zsh:
- add --mkdir + --mkfile
- remove -audit
and fix typo in 9b56dc8e
Diffstat (limited to 'src/zsh_completion/_firejail.in')
-rw-r--r-- | src/zsh_completion/_firejail.in | 4 |
1 files changed, 2 insertions, 2 deletions
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=( | |||
76 | '(--cpu.print)'{--cpu.print=,--cpu.print=}'[print the cpus in use name|pid]: : _all_firejails' | 76 | '(--cpu.print)'{--cpu.print=,--cpu.print=}'[print the cpus in use name|pid]: : _all_firejails' |
77 | '--list[list all sandboxes]' | 77 | '--list[list all sandboxes]' |
78 | '(--dns)'{--dns=,--dns=}'[set DNS server]: :' | 78 | '(--dns)'{--dns=,--dns=}'[set DNS server]: :' |
79 | '*--mkdir=-[create a directory]:' | ||
80 | '*--mkfile=-[create a file]:' | ||
79 | '(--protocol)'{--protocol=,--protocol=}'[enable protocol filter]: :' | 81 | '(--protocol)'{--protocol=,--protocol=}'[enable protocol filter]: :' |
80 | '(--join-or-start)'{--join-or-start=,--join-or-start=}'[join the sandbox or start a new one name|pid]: : _all_firejails' | 82 | '(--join-or-start)'{--join-or-start=,--join-or-start=}'[join the sandbox or start a new one name|pid]: : _all_firejails' |
81 | '(--hosts-file)'{--hosts-file=,--hosts-file=}'[use file as /etc/hosts]: : _files' | 83 | '(--hosts-file)'{--hosts-file=,--hosts-file=}'[use file as /etc/hosts]: : _files' |
@@ -112,8 +114,6 @@ _firejail_args=( | |||
112 | '(--nice)'{--nice=,--nice=}'[set nice value]: :(1 10 15 20)' | 114 | '(--nice)'{--nice=,--nice=}'[set nice value]: :(1 10 15 20)' |
113 | # Should be _files, a comma and files or files -/ | 115 | # Should be _files, a comma and files or files -/ |
114 | '*'{--bind=,--bind=}'[mount-bind dirname1/filename1 on top of dirname2/filename2]: :(file1,file2 dir1,dir2)' | 116 | '*'{--bind=,--bind=}'[mount-bind dirname1/filename1 on top of dirname2/filename2]: :(file1,file2 dir1,dir2)' |
115 | '--audit[audit the sandbox]' | ||
116 | '(--audit)'{--audit=,--audit=}'[audit the sandbox with a test-program]: :' | ||
117 | '(--cgroup)'{--cgroup=,--cgroup=}'[place the sandbox in the specified control group]: :' | 117 | '(--cgroup)'{--cgroup=,--cgroup=}'[place the sandbox in the specified control group]: :' |
118 | '*'{--env=,--env=}'[set environment variable]: :' | 118 | '*'{--env=,--env=}'[set environment variable]: :' |
119 | '(--hostname)'{--hostname=,--hostname=}'[set sandbox hostname]: :' | 119 | '(--hostname)'{--hostname=,--hostname=}'[set sandbox hostname]: :' |