dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit ea191ef2ec7bd08a3f3c65b4036c8eac46adb693
parent fa9304faadc07ffa323b9fa655e69b7a1025c323
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 23 Jun 2019 16:34:08 -0700

Add homebrew zsh completions to fpath on macOS

Adds $HOME/.homebrew/share/zsh/site-functions to zsh's fpath.

Diffstat:
M.zshrc | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.zshrc b/.zshrc @@ -31,6 +31,9 @@ bindkey '^Y' push-line bindkey '^R' history-incremental-search-backward # Completion +if [[ "$(uname -s)" == "Darwin" ]]; then + fpath=($HOME/.homebrew/share/zsh/site-functions $fpath) +fi zstyle :compinstall filename "$HOME/.zshrc" autoload -Uz compinit && compinit zstyle ':completion:*' menu select