• Christian Höltje's avatar
    ssh-agent: prevent environment file from flapping · cfe468f6
    Christian Höltje authored
    On an OS X laptop, the variable `$HOST` changes a lot depending
    on what wifi network you're connected to.  This causes a lot
    of `~/.ssh/environment-$HOST` files to be created and
    causes multiple ssh-agents to created.
    
    Instead, use `scutil --get ComputerName` to get something
    more stable.
    cfe468f6
ssh-agent.plugin.zsh 2.2 KB