2014-11-07 17:37:04 +01:00
|
|
|
[[ -z "$PS1" ]] && return
|
|
|
|
|
|
2017-08-26 10:56:11 +02:00
|
|
|
_zshdir="$HOME/.zshrc.d"
|
2016-03-07 19:38:16 +01:00
|
|
|
|
2020-04-05 18:59:39 +02:00
|
|
|
{% if user.gpg_agent %}
|
2017-08-05 18:59:49 +02:00
|
|
|
export GPG_TTY=$(tty)
|
2019-04-16 20:10:47 +02:00
|
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
2018-08-17 19:44:31 +02:00
|
|
|
{% endif %}
|
2017-08-05 18:59:49 +02:00
|
|
|
|
2016-03-13 15:32:57 +01:00
|
|
|
for file in "${_zshdir}"/* ; do
|
|
|
|
|
if [[ -e "$file" ]] ; then
|
|
|
|
|
source "$file"
|
2015-09-25 16:25:48 +02:00
|
|
|
fi
|
|
|
|
|
done
|
2018-01-29 12:42:35 +01:00
|
|
|
|
2020-12-09 15:25:34 +01:00
|
|
|
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
|
2021-10-22 22:39:02 +02:00
|
|
|
|
|
|
|
|
{% if distro == 'ubuntu' %}
|
|
|
|
|
alias imv=imv-x11
|
|
|
|
|
{% endif %}
|