.profile: start ssh-agent on every login
This commit is contained in:
parent
d2daa6ba62
commit
527d42e4af
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user