aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-19 04:39:35 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-19 04:45:32 -0300
commit2c86cac3624cc47338af50c1f2dadb836e87ac61 (patch)
tree05373eb414e43b26da3ae9a1116d1ca5d0d11bba
parentRELNOTES: add feature and modif items (diff)
downloadfirejail-2c86cac3624cc47338af50c1f2dadb836e87ac61.tar.gz
firejail-2c86cac3624cc47338af50c1f2dadb836e87ac61.tar.zst
firejail-2c86cac3624cc47338af50c1f2dadb836e87ac61.zip
zsh: add shell completion for --tab
Note: It already works for bash and it's already present in the syntax files: $ grep '^tab' contrib/syntax/lists/profile_commands_arg0.list tab Added on commit e6c50240f ("--tab: enable shell tab completion", 2022-02-20) / #4936.
-rw-r--r--src/zsh_completion/_firejail.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zsh_completion/_firejail.in b/src/zsh_completion/_firejail.in
index 37ce7055b..455ba7e50 100644
--- a/src/zsh_completion/_firejail.in
+++ b/src/zsh_completion/_firejail.in
@@ -167,6 +167,7 @@ _firejail_args=(
167 '(--tracelog)--trace=-[trace open, access and connect system calls]: :_files' 167 '(--tracelog)--trace=-[trace open, access and connect system calls]: :_files'
168 '(--trace)--tracelog[add a syslog message for every access to files or directories blacklisted by the security profile]' 168 '(--trace)--tracelog[add a syslog message for every access to files or directories blacklisted by the security profile]'
169 '(--private-etc)--writable-etc[/etc directory is mounted read-write]' 169 '(--private-etc)--writable-etc[/etc directory is mounted read-write]'
170 '--tab[enable shell tab completion in sandboxes using private or whitelisted home directories]'
170 '--writable-run-user[allow access to /run/user/$UID/systemd and /run/user/$UID/gnupg]' 171 '--writable-run-user[allow access to /run/user/$UID/systemd and /run/user/$UID/gnupg]'
171 '--writable-var[/var directory is mounted read-write]' 172 '--writable-var[/var directory is mounted read-write]'
172 '--writable-var-log[use the real /var/log directory, not a clone]' 173 '--writable-var-log[use the real /var/log directory, not a clone]'