X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bash_profile;h=4935e8fa483955ba71aa7b48d275bab598d30a1b;hb=64b0a6dd26e21c1c3eac846738470edbe0350251;hp=123d6e6c2a4235b13c821375ab832c679d0fcf12;hpb=1afdf944dcef65ad2bab01e5a07756da28024503;p=home.git diff --git a/.bash_profile b/.bash_profile index 123d6e6..4935e8f 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,4 +1,9 @@ if type -P keychain >/dev/null ; then - keychain -q $(find ~/.ssh/ -type f '(' -name 'id_*' -a '!' -name '*.pub' ')') + ( + 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