Include custom zsh functions

This commit is contained in:
Oliver Davies 2019-10-09 19:02:06 +01:00
parent 52d993547c
commit 70e3fe7faa
2 changed files with 5 additions and 1 deletions

2
rcrc
View file

@ -1,4 +1,4 @@
DOTFILES_DIRS="$HOME/dotfiles-local $HOME/dotfiles"
EXCLUDES="install.sh README.md"
SYMLINK_DIRS="composer zsh_profile.d"
SYMLINK_DIRS="composer functions zsh_profile.d"
TAGS="git npm php tmux vim zsh"

View file

@ -93,6 +93,10 @@ alias zshconfig="vim ~/.zshrc"
# https://superuser.com/questions/613685/how-stop-zsh-from-eating-space-before-pipe-symbol
ZLE_REMOVE_SUFFIX_CHARS=""
for function in $HOME/.zsh/functions/*; do
source $function
done
for zsh_source in $HOME/.zsh_profile.d/*.zsh; do
source $zsh_source
done