dotfiles/zprofile

15 lines
341 B
Bash

#!/usr/bin/env zsh
# Eryn Wells <eryn@erynwells.me>
shell-log 'Initializing Login Environment'
# Start SSH agent for password-less logins
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
print_info -l 1 'Starting ssh-agent'
eval `ssh-agent -s`
trap "kill $SSH_AGENT_PID" 0
fi
autoload list_tmux_sessions
list_tmux_sessions