commit 834ad0864a0a438137238eede2e4bb15b4a0975a
parent bbdec15ba03ae59e2c5a876dd0f7009e1c2b8fd0
Author: Chris Bracken <chris@bracken.jp>
Date: Sun, 14 Jul 2019 14:53:17 +0900
Don't start ssh-agent in login shells
While starting it from .zprofile (executed only by login shells) was an
improvement over .zshrc (executed for all interactive shells), you still
end up accumulating vast amounts of ssh-agent processes over time.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/.zprofile b/.zprofile
@@ -1,7 +1,4 @@
# .zprofile
-# Start ssh-agent.
-eval $(ssh-agent -s) > /dev/null
-
# Set the terminal size if we're on a serial line.
if [[ -x /usr/bin/resizewin ]]; then /usr/bin/resizewin -z; fi