25 lines
672 B
Django/Jinja
25 lines
672 B
Django/Jinja
[[ -z "$PS1" ]] && return
|
|
|
|
_zshdir="$HOME/.zshrc.d"
|
|
|
|
{% if user.gpg_agent %}
|
|
export GPG_TTY=$(tty)
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
{% endif %}
|
|
|
|
for file in "${_zshdir}"/* ; do
|
|
if [[ -e "$file" ]] ; then
|
|
source "$file"
|
|
fi
|
|
done
|
|
|
|
if [[ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] ; then
|
|
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
elif [[ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] ; then
|
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
fi
|
|
|
|
{% if distro == 'ubuntu' %}
|
|
alias imv=imv-x11
|
|
{% endif %}
|