commit - fbf22399b3b39df2e30b9f7f4d7c4cb85c952254
commit + 5ff5ff724b2f32aee880b5194663b0bc549ca740
blob - 30183ac239a6810fee7eb60dcd65c0e8cc529ef7
blob + a538ac63956d47c0e37b22700cb78e09e2dc927c
--- .kshrc
+++ .kshrc
# The following is only needed on WSL not on other OSes
[ -f "/proc/version" ] && grep -qE "(Microsoft|WSL)" /proc/version 2> /dev/null
if [ $? -eq 0 ]; then
- local AGPATH="$HOME/.ssh/$(hostname).agent"
-
- [[ -f ${AGPATH} ]] && rm -f $AGPATH
- command ssh-agent -t 345600 | grep -v echo > $AGPATH
- . $AGPATH
+ /usr/bin/keychain -q --nogui $HOME/.ssh/id_ed25519
+ return
fi
# Find all public keys...
# VARIABLES
#############################################################################
+[ -d $HOME/.keychain ] && . $HOME/.keychain/LWKA-6Q7VRN2-sh
+
LSCOLORS=Dxfxcxdxbxegedabagacad
HISTSIZE=30000
HISTFILE=$HOME/.sh_history