Zsh: Move fpath addition to .zshenv to have it available in scripts
This commit is contained in:
parent
e8490692b3
commit
64c12cd4cf
1
.config/zsh/.zshenv
Normal file
1
.config/zsh/.zshenv
Normal file
|
@ -0,0 +1 @@
|
|||
[[ -d "${ZDOTDIR}"/functions ]] && fpath+=( "${ZDOTDIR}"/functions )
|
|
@ -1,8 +1,6 @@
|
|||
function() # Keep local variables in here.
|
||||
{
|
||||
|
||||
[[ -d "${ZDOTDIR}"/functions ]] && fpath+=( "${ZDOTDIR}"/functions )
|
||||
|
||||
############################## Completion ######################################
|
||||
|
||||
zmodload zsh/complist
|
||||
|
|
Loading…
Reference in New Issue
Block a user