mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Avoid error if nothing exists in zshrc.d.
This commit is contained in:
@@ -59,7 +59,8 @@ bindkey '^r' history-incremental-search-backward
|
||||
# Source extras and aliases if interactive
|
||||
if [[ $- == *i* ]] ; then
|
||||
if [[ -e $HOME/.aliases ]] ; then source $HOME/.aliases ; fi
|
||||
for file in $HOME/.zshrc.d/* ; do source "$file" ; done
|
||||
# zsh-only-ism to avoid error if glob doesn't expand
|
||||
for file in $HOME/.zshrc.d/*(N) ; do source "$file" ; done
|
||||
fi
|
||||
|
||||
# In case ack is named ack-grep
|
||||
|
||||
Reference in New Issue
Block a user