.profile: start ssh-agent on every login

This commit is contained in:
dogeystamp 2023-06-22 18:41:00 -04:00
parent d2daa6ba62
commit 527d42e4af
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 2 additions and 9 deletions

View File

@ -9,15 +9,6 @@ if set -q TMUX
end
end
if set -q SSH_AGENT_PID
functions -c fish_prompt ssha_old_fish_prompt
function fish_prompt
printf "%s%s%s" (set_color 9C8080) "(ssha) " (set_color normal)
ssha_old_fish_prompt
end
end
if set -q SSH_TTY
functions -c fish_prompt ssh_old_fish_prompt

View File

@ -80,4 +80,6 @@ export PATH="$PATH":"$XDG_DATA_HOME"/go/bin
# cppman can't set it itself for some reason
export MANPATH="$MANPATH":~/.cache/cppman/
eval $(ssh-agent)
. .config/bashrc