Load files from zsh_profile.d

This commit is contained in:
Oliver Davies 2019-09-04 23:26:33 +01:00
parent d8e70d99f6
commit fadcbec047
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,2 @@
setopt auto_cd
cdpath=($HOME $HOME/Code $HOME/Code/clients $HOME/Code/os)

View file

@ -97,3 +97,7 @@ source ~/.functions
# Stop zsh from eating space before pipe symbol
# https://superuser.com/questions/613685/how-stop-zsh-from-eating-space-before-pipe-symbol
ZLE_REMOVE_SUFFIX_CHARS=""
for zsh_source in $HOME/.zsh_profile.d/*.zsh; do
source $zsh_source
done