.dotfiles/bash/bashrc.host

16 lines
413 B
Plaintext
Raw Normal View History

# vim: ft=sh
2022-12-12 19:48:42 +00:00
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
if [ -z "$SSH_AGENT_PID" ]; then
2023-01-07 17:03:31 +00:00
if [ -f "$HOME/.spool/ssh-agent.env" ]; then
source "$HOME/.spool/ssh-agent.env" >/dev/null
2023-01-07 17:03:31 +00:00
else
if [ ! -f "$SSH_AUTH_SOCK" ]; then
touch "$SSH_AUTH_SOCK"
2022-12-12 19:48:42 +00:00
fi
2023-01-07 17:03:31 +00:00
$HOME/scripts/ssh-agent.sh
fi
2022-12-12 19:48:42 +00:00
fi
2022-12-13 03:44:24 +00:00
echo "This is the host OS. You probably want to open a Distrobox."