]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/commit
.bash_profile: Don't run keychain when sudo'ing
authorTony Duckles <tony@nynim.org>
Sun, 22 Feb 2015 01:35:17 +0000 (19:35 -0600)
committerTony Duckles <tony@nynim.org>
Sun, 22 Feb 2015 01:35:17 +0000 (19:35 -0600)
commita75c95de5ce2cfe4ce045795d47dbcdb12ab40e1
tree2dd2c9821b3d6b5a4f380479023ffb173bae9600
parent939024031873cfeb65ddddf9e6388f61143f30a4
.bash_profile: Don't run keychain when sudo'ing

Don't re-run keychain when starting a sudo'd shell. When using
Fabric + sudo, this was re-running keychain and borked the
pre-existing ssh-agent job. Use presence of $SUDO_USER to identify
sudo context and prevent re-running keychain.
.bash_profile