1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 23:40:39 +01:00
Files
oh-my-zsh/plugins/ssh-agent/ssh-agent.plugin.zsh
Marc Cornellà 53c3567cc3 Force ssh-agent output to use bourne-style syntax
On systems where the shell cannot be changed because of a strict
security policy, ssh-agent will use the syntax of whatever the
default $SHELL is.
For instance, if the default shell is tcsh, ssh-agent will use the
c-shell style (setenv).

This change forces ssh-agent to use bourne-style syntax since that
has to be later interpreted by zsh. Consequently, the environment
file will contain `export' statements from now on (instead of
`setenv').
2016-09-03 20:49:55 +02:00

1.2 KiB