diff --git a/mfunc.plugin.zsh b/mfunc.plugin.zsh index b441876..f85f118 100755 --- a/mfunc.plugin.zsh +++ b/mfunc.plugin.zsh @@ -12,7 +12,7 @@ ###### # this is where our functions live -fdir=$HOME/.functions +fdir=${ZDOTDIR:-${HOME}}/.functions # check if functions directory exists, create if it doesn't if [[ ! -d $fdir/ ]]; then