[fix] make 1pass ssh agent work on both wsl and baremetal linux

This commit is contained in:
2026-03-24 04:04:46 -04:00
parent 6d552dc7e1
commit 7a6f22adce

View File

@@ -78,6 +78,10 @@ plugins=(
)
source $ZSH/oh-my-zsh.sh
# Fix unreadable directory highlights on Windows mounts (/mnt)
# NTFS dirs show as other-writable, default ow=34;42 adds green background
export LS_COLORS="${LS_COLORS}:ow=1;34"
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
@@ -124,4 +128,5 @@ if [ -d "$FNM_PATH" ]; then
fi
#1pass
export SSH_AUTH_SOCK=~/.1password/agent.sock
# export SSH_AUTH_SOCK=~/.1password/agent.sock
[[ -S ~/.1password/agent.sock ]] && export SSH_AUTH_SOCK=~/.1password/agent.sock