2022-08-19 22:37:17 +03:00
|
|
|
# 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-21 04:04:14 +03:00
|
|
|
prompt-powerline.zsh
|
2022-09-03 19:30:19 +03:00
|
|
|
functions.zsh
|
2022-08-19 22:37:17 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
for config in $conflist; do
|
|
|
|
[[ -r $confdir/$config ]] && . $confdir/$config
|
|
|
|
done
|