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