Add ZSH completions

This commit is contained in:
2020-04-10 13:09:53 -04:00
parent f05127de5d
commit e319c03a45
2 changed files with 21 additions and 1 deletions

View File

@@ -1,2 +1,7 @@
zsh
zsh-completions
zsh-autosuggestions
rbenv
nodenv
gnupg
pinentry-mac

17
zshrc
View File

@@ -3,5 +3,20 @@ eval "$(nodenv init -)"
source $INSTALL_DIR/packages/geometry/geometry.zsh
if type brew &>/dev/null; then
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
autoload -Uz compinit
compinit
fi
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
typeset -U path cdpath fpath
setopt auto_cd
cdpath=($HOME/Projects)
cdpath=($HOME/src)
zstyle ':completion:*' group-name ''
zstyle ':completion:*:descriptions' format %d
export GPG_TTY=$(tty)