fix: set default ssh sock based on what is available instead of forcing 1password locally
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 8s
Python Lint Check / check-python (push) Has been cancelled
Nix Format Check / check-format (push) Has been cancelled

Signed-off-by: Menno van Leeuwen <menno@vleeuwen.me>
This commit is contained in:
2025-07-23 14:29:49 +02:00
parent c8444de0d5
commit dd1b961af0
2 changed files with 32 additions and 28 deletions

View File

@@ -22,6 +22,11 @@ if [[ "$(uname -a)" == *"microsoft-standard-WSL2"* ]]; then
alias winget='winget.exe'
fi
# Set SSH_AUTH_SOCK to ~/.1password/agent.sock, but only if we don't already have a SSH_AUTH_SOCK
if [ -z "$SSH_AUTH_SOCK" ]; then
export SSH_AUTH_SOCK=~/.1password/agent.sock
fi
# Docker Compose Alias (Mostly for old shell scripts)
alias docker-compose='docker compose'

View File

@@ -1,5 +1,4 @@
Host *
IdentityAgent ~/.1password/agent.sock
AddKeysToAgent yes
ForwardAgent yes