Add functions to fpath in .zshrc
This commit is contained in:
parent
4d44b03add
commit
6cff8a5713
|
@ -180,7 +180,6 @@ case $(hostname) in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[[ -f "${ZDOTDIR}"/zsecrets ]] && source "${ZDOTDIR}"/zsecrets
|
[[ -f "${ZDOTDIR}"/zsecrets ]] && source "${ZDOTDIR}"/zsecrets
|
||||||
[[ -d "${ZDOTDIR}"/functions ]] && fpath+=( "${ZDOTDIR}"/functions ) && export fpath
|
|
||||||
|
|
||||||
############################# Daemons ##########################################
|
############################# Daemons ##########################################
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
function() # Keep local variables in here.
|
function() # Keep local variables in here.
|
||||||
{
|
{
|
||||||
|
|
||||||
|
[[ -d "${ZDOTDIR}"/functions ]] && fpath+=( "${ZDOTDIR}"/functions )
|
||||||
|
|
||||||
############################## Completion ######################################
|
############################## Completion ######################################
|
||||||
|
|
||||||
zmodload -i zsh/complist
|
zmodload -i zsh/complist
|
||||||
|
|
Loading…
Reference in New Issue
Block a user