if status is-login eval (ssh-agent -c) ssh-add ~/.ssh/2ndbeam end if status is-interactive # Commands to run in interactive sessions can go here end