Add ZSH completions
This commit is contained in:
5
dependencies/homebrew.txt
vendored
5
dependencies/homebrew.txt
vendored
@@ -1,2 +1,7 @@
|
|||||||
|
zsh
|
||||||
|
zsh-completions
|
||||||
|
zsh-autosuggestions
|
||||||
rbenv
|
rbenv
|
||||||
nodenv
|
nodenv
|
||||||
|
gnupg
|
||||||
|
pinentry-mac
|
||||||
|
|||||||
17
zshrc
17
zshrc
@@ -3,5 +3,20 @@ eval "$(nodenv init -)"
|
|||||||
|
|
||||||
source $INSTALL_DIR/packages/geometry/geometry.zsh
|
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
|
setopt auto_cd
|
||||||
cdpath=($HOME/Projects)
|
cdpath=($HOME/src)
|
||||||
|
|
||||||
|
zstyle ':completion:*' group-name ''
|
||||||
|
zstyle ':completion:*:descriptions' format %d
|
||||||
|
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
|||||||
Reference in New Issue
Block a user