zsh: Agregar advertencia sobre seguridad de vcs_info
This commit is contained in:
parent
9545c9c248
commit
c67354ca58
1 changed files with 2 additions and 0 deletions
2
.zshrc
2
.zshrc
|
@ -18,6 +18,8 @@ zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*'
|
||||||
zstyle :compinstall filename ~/.zshrc
|
zstyle :compinstall filename ~/.zshrc
|
||||||
autoload -Uz compinit && compinit
|
autoload -Uz compinit && compinit
|
||||||
|
|
||||||
|
# Advertencia: no es seguro entrar a carpetas desconfiables con esto...
|
||||||
|
# https://blog.sonarsource.com/securing-developer-tools-git-integrations
|
||||||
autoload -Uz vcs_info
|
autoload -Uz vcs_info
|
||||||
zstyle ':vcs_info:*' actionformats \
|
zstyle ':vcs_info:*' actionformats \
|
||||||
'%F{4}[%F{2}%b%F{3}|%F{1}%a%F{4}]%f '
|
'%F{4}[%F{2}%b%F{3}|%F{1}%a%F{4}]%f '
|
||||||
|
|
Loading…
Reference in a new issue