Wrong place to run ssh-agent
This commit is contained in:
parent
d26f8971d0
commit
8b1506e545
|
@ -4,15 +4,5 @@
|
|||
export EDITOR="flatpak run io.neovim.nvim"
|
||||
|
||||
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
|
||||
if [ -z "$SSH_AGENT_PID" ]; then
|
||||
if [ -f "$HOME/.spool/ssh-agent.env" ]; then
|
||||
source "$HOME/.spool/ssh-agent.env" >/dev/null
|
||||
else
|
||||
if [ ! -f "$SSH_AUTH_SOCK" ]; then
|
||||
touch "$SSH_AUTH_SOCK"
|
||||
fi
|
||||
$HOME/scripts/ssh-agent.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "This is the host OS. You probably want to open a Distrobox."
|
||||
|
|
Loading…
Reference in New Issue