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