added a for loop

This commit is contained in:
pSox 2018-05-17 14:48:05 +01:00
parent 0e1e258297
commit ec857dfcd5
1 changed files with 1 additions and 1 deletions

2
zshrc
View File

@ -17,7 +17,7 @@ typeset -U PATH path fpath
path=( /bin /sbin /usr/bin /usr/sbin $path )
# Set funtion paths
foreach local p in /root/.local/share/zsh/functions /root/.config/zsh/functions $extra_fpath
foreach local p in ~/.local/share/zsh/functions ~/.config/zsh/functions $extra_fpath
[[ -d "$p" ]] && fpath=( "$p" $fpath )
end