123456789101112131415161718 |
- __zshrc_try_source() \
- if [ -f "${1:?}" ] && [ -r "${1}" ]; then source "${1}"; fi
- __zshrc_try_source \
- "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
- () {
- local __f=''
- for __f in "${${(%):-%x}:A:h}/conf"/*.zsh; do source "${__f}"; done
- }
- __zshrc_try_source "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/init.sh"
- unset -f __zshrc_try_source
|