mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-06 01:19:23 +01:00
zshrc: exclude insecure directories from compinit
This commit is contained in:
parent
ded5ed45e0
commit
2bd7d59b35
4
rc/zshrc
4
rc/zshrc
@ -116,7 +116,9 @@ bindkey -e
|
||||
|
||||
# Use modern completion system
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# -i = exclude insecure directories, -u would disable security checks
|
||||
# https://github.com/zsh-users/zsh/blob/zsh-5.9/Completion/compinit#L67-L72
|
||||
compinit -i
|
||||
|
||||
zstyle ':completion:*' auto-description 'specify: %d'
|
||||
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
||||
|
Loading…
Reference in New Issue
Block a user