X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bash_profile;h=4935e8fa483955ba71aa7b48d275bab598d30a1b;hb=53756ed8612888ef97a5c39a83e9ceaaed56ac91;hp=3f56aa0b09e686a00b2dda96dd4eae1cc8832259;hpb=5b61754dc15ad3f7c19e83aecc4a921e6f8fa5df;p=home.git diff --git a/.bash_profile b/.bash_profile index 3f56aa0..4935e8f 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1 +1,9 @@ +if type -P keychain >/dev/null ; then + ( + set -- $(find ~/.ssh/ -maxdepth 1 -type f '(' -name 'id_*' -a '!' -name '*.pub' ')') + chmod go-rwx "$@" + keychain -q "$@" & + ) +fi [[ -f ~/.bashrc ]] && . ~/.bashrc +stty -tostop 2>/dev/null