[fix] make 1pass ssh agent work on both wsl and baremetal linux
This commit is contained in:
@@ -78,6 +78,10 @@ plugins=(
|
|||||||
)
|
)
|
||||||
source $ZSH/oh-my-zsh.sh
|
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
|
# User configuration
|
||||||
|
|
||||||
# export MANPATH="/usr/local/man:$MANPATH"
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
@@ -124,4 +128,5 @@ if [ -d "$FNM_PATH" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#1pass
|
#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
|
||||||
|
|||||||
Reference in New Issue
Block a user