dotfiles/profile
Eryn Wells 1400941de1 Add status messages to shell init files
Mostly for profiling, but I think it's cool to have status occasionally. In the
process, I also did some clean up, moving some stuff between profile, rc, and
env.
2012-08-07 11:19:43 -07:00

10 lines
257 B
Bash

# .profile
# vim: ft=zsh
# Eryn Wells <eryn@erynwells.me>
# Start SSH agent for password-less logins
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
print_info_noisy 1 'Starting ssh-agent'
eval `ssh-agent -s`
trap "kill $SSH_AGENT_PID" 0
fi