Add xinitrc and fix ssh-agent issues in zsh

This commit is contained in:
2017-07-24 18:08:15 +03:00
parent ce84479f82
commit ec56e49411
3 changed files with 18 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ if [ "$?" == 2 ]; then
ssh-add -l > /dev/null 2>&1
if [ "$?" == 2 ]; then
(umask 066; ssh-agent > $HOME/.ssh-agent)
(umask 066; ssh-agent >| $HOME/.ssh-agent)
eval "$(<$HOME/.ssh-agent)" > /dev/null
ssh-add
fi