• Michael Stucki's avatar
    Use existing ssh-agent when invoking a sudo shell (#3891) · 30227017
    Michael Stucki authored
    When invoking a shell as root using ```sudo -s```, the ssh-agent plugin
    starts a new agent although it already exists.
    
    The problem boils down to a check if ssh-agent is running using
    ```ps x```. If that is extended to ```ps ax``` for root, then the
    existing ssh-agent will still work.
    30227017
Name
Last commit
Last update
cache Loading commit data...
custom Loading commit data...
lib Loading commit data...
log Loading commit data...
plugins Loading commit data...
templates Loading commit data...
themes Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
oh-my-zsh.sh Loading commit data...