From 7a6f22adce8e9a2b8ed22f16c6521a30e4c4806f Mon Sep 17 00:00:00 2001 From: Daveanand Mannie Date: Tue, 24 Mar 2026 04:04:46 -0400 Subject: [PATCH] [fix] make 1pass ssh agent work on both wsl and baremetal linux --- zsh/.zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index ac892b6..b9bee7d 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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