22 lines
481 B
Bash
22 lines
481 B
Bash
command -v direnv &>/dev/null && emulate zsh -c "$(direnv export zsh)"
|
|
|
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
fi
|
|
|
|
for f in \
|
|
"plugins" \
|
|
"functions" \
|
|
"aliases" \
|
|
"hashes" \
|
|
"options" \
|
|
"bindings" \
|
|
"completions" \
|
|
"widgets" \
|
|
"host" \
|
|
"prompt"
|
|
do
|
|
source "${ZDOTDIR}/config/${f}.zsh"
|
|
done
|
|
|
|
export GPG_TTY=$TTY
|