start ssh-agent in .profile

This commit is contained in:
odrling 2020-03-10 15:02:20 +01:00
parent 11648eab98
commit 4533824fcf
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,9 @@ export FZF_DEFAULT_COMMAND="find . -type f | cut -d'/' -f2-"
# fix java swing applications
export _JAVA_AWT_WM_NONREPARENTING=1
# start ssh-agent
eval $(ssh-agent > /dev/null)
[ -f ~/.profile.local ] && . ~/.profile.local
if [ "$(tty)" = '/dev/tty1' ]; then

View File

@ -1,5 +1,4 @@
typeset -U path
export path
source ~/.zsh/omz/oh-my-zsh/plugins/ssh-agent/ssh-agent.plugin.zsh
. ~/.profile