Files
dotfiles/zsh/zshrc

17 lines
299 B
Bash
Raw Normal View History

2014-11-07 17:37:04 +01:00
[[ -z "$PS1" ]] && return
2016-03-13 15:32:57 +01:00
_zshdir="$HOME/.zsh"
2016-03-07 19:38:16 +01:00
2017-08-05 18:59:49 +02:00
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
if $(ssh-add -l 2>/dev/null | grep -q "no identities") ; then
ssh-add
fi
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