Skip to content

Commit bec20f8

Browse files
committed
zsh: bypass security checking for compinit
1 parent 9b527e2 commit bec20f8

File tree

1 file changed

+1
-1
lines changed
  • crates/completest-pty/src

1 file changed

+1
-1
lines changed

crates/completest-pty/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl ZshRuntime {
7474
let config_path = home.join(".zshenv");
7575
let config = "\
7676
fpath=($fpath $ZDOTDIR/zsh)
77-
autoload -U +X compinit && compinit
77+
autoload -U +X compinit && compinit -u # bypass compaudit security checking
7878
precmd_functions=\"\" # avoid the prompt being overwritten
7979
PS1='%% '
8080
PROMPT='%% '

0 commit comments

Comments
 (0)