Added support for jaesve and remved global aliases

This commit is contained in:
psox 2019-09-23 17:37:27 +01:00
parent 67ba3f52bd
commit c6b217da10

4
zshrc
View file

@ -157,6 +157,7 @@ foreach cmd in kubectl kubeadm
( which $cmd 2>/dev/null >/dev/null ) && source <($cmd completion zsh)
end
( which lxc 2>/dev/null >/dev/null ) && source $PSOXIZSH/zsh-custom/lxd-completion-zsh/_lxc
( which jaesve 2>/dev/null >/dev/null ) && source <(jaesve completions -- bash)
source $PSOXIZSH/zsh-custom/zshnip/zshnip.zsh
@ -236,6 +237,9 @@ precmd() {
fi
}
# Clean up global aliases
source <(alias -g | awk -F= '/^[A-Za-z]+/{print $1}' | xargs -I{} -n1 echo unalias "'{}'")
foreach _OPT in AUTO_NAME_DIRS CDABLE_VARS
setopt $_OPT
end