dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 0c408adcef18f15de398bf80255fa0aa5188cd8a
parent 34bc5a0c6e7bbb69daebeaee882371a614c020cc
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun, 11 Mar 2018 15:31:22 -0400

Add .zsh/functions to fpath if the directory exists

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

diff --git a/.zshrc b/.zshrc @@ -35,6 +35,7 @@ PS1="%{$usercolor%}%n%{$reset%}@%{$fg[green]%}%m:%{$reset%}%c%{$fg[red]%}\$(__gi unset usercolor reset [ -d /usr/share/zsh/site-functions/ ] && fpath=(/usr/share/zsh/site-functions/ $fpath) +[ -d "$HOME/.zsh/functions" ] && fpath=("$HOME/.zsh/functions" $fpath) _my() {