mirror of
https://github.com/danhper/fish-ssh-agent.git
synced 2025-12-13 09:24:59 +00:00
Suppress unknown error form setenv i.e set -xg
This commit is contained in:
@@ -2,4 +2,5 @@ function __ssh_agent_start -d "start a new ssh agent"
|
|||||||
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
|
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
|
||||||
chmod 600 $SSH_ENV
|
chmod 600 $SSH_ENV
|
||||||
source $SSH_ENV > /dev/null
|
source $SSH_ENV > /dev/null
|
||||||
|
true # suppress errors from setenv, i.e. set -gx
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user