1
0
Fork 0
vdotfiles/zsh/init.zsh

18 lines
388 B
Bash
Raw Normal View History

# Source me via an absolute path
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# We rely on absolute path here, so don't do anything if it's relative
[[ $0[1] != / ]] && return
confdir=$(dirname $0)
conflist=(
settings.zsh
2022-08-23 16:13:04 +03:00
aliases.zsh
prompt-powerline.zsh
)
for config in $conflist; do
[[ -r $confdir/$config ]] && . $confdir/$config
done