]> git.wh0rd.org - home.git/blobdiff - .bash_profile
PS1: shorten slightly & add PS0 recovery
[home.git] / .bash_profile
index 3f56aa0b09e686a00b2dda96dd4eae1cc8832259..4935e8fa483955ba71aa7b48d275bab598d30a1b 100644 (file)
@@ -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