From 718aad1b000e1eba2e791e3ddc3e7f62ca088c87 Mon Sep 17 00:00:00 2001 From: Alex Lavallee <73203142+lavalleeale@users.noreply.github.com> Date: Mon, 18 Jan 2021 19:35:27 -0800 Subject: [PATCH] Configure ssh directly instead of setting environment variable --- Secretive/Controllers/ShellConfigurationController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Secretive/Controllers/ShellConfigurationController.swift b/Secretive/Controllers/ShellConfigurationController.swift index 75b0614..9d95fd5 100644 --- a/Secretive/Controllers/ShellConfigurationController.swift +++ b/Secretive/Controllers/ShellConfigurationController.swift @@ -7,6 +7,10 @@ struct ShellConfigurationController { var shellInstructions: [ShellConfigInstruction] { [ + ShellConfigInstruction(shell: "global", + shellConfigDirectory: "~/.ssh/", + shellConfigFilename: "config", + text: "Host *\n\tIdentityAgent \(socketPath)"), ShellConfigInstruction(shell: "zsh", shellConfigDirectory: "~/", shellConfigFilename: ".zshrc",