5 lines
187 B
Bash
5 lines
187 B
Bash
if [ -z ${TMUX} ]; then
|
|
# Add SSH keys to keychain
|
|
find ~/.ssh -type f -regextype egrep -regex '.*/id_[^.]+$' | xargs /usr/bin/keychain --nogui
|
|
source ~/.keychain/$(hostname)-sh
|
|
fi
|