Suppress unknown error form setenv i.e set -xg

This commit is contained in:
kyb
2018-08-02 00:19:52 +03:00
parent 4111c40286
commit 1118ad4544

View File

@@ -2,4 +2,5 @@ function __ssh_agent_start -d "start a new ssh agent"
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
chmod 600 $SSH_ENV
source $SSH_ENV > /dev/null
true # suppress errors from setenv, i.e. set -gx
end