From f30d1f802f12a7779ffd03f075e74c58e223a5e5 Mon Sep 17 00:00:00 2001 From: Alex Lavallee <73203142+lavalleeale@users.noreply.github.com> Date: Sat, 6 Mar 2021 15:21:33 -0800 Subject: [PATCH] Configure ssh directly instead of setting environment variable (#208) --- Secretive/Controllers/ShellConfigurationController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Secretive/Controllers/ShellConfigurationController.swift b/Secretive/Controllers/ShellConfigurationController.swift index a7f2096..431e0ad 100644 --- a/Secretive/Controllers/ShellConfigurationController.swift +++ b/Secretive/Controllers/ShellConfigurationController.swift @@ -8,6 +8,10 @@ struct ShellConfigurationController { var shellInstructions: [ShellConfigInstruction] { [ + ShellConfigInstruction(shell: "global", + shellConfigDirectory: "~/.ssh/", + shellConfigFilename: "config", + text: "Host *\n\tIdentityAgent \(socketPath)"), ShellConfigInstruction(shell: "zsh", shellConfigDirectory: "~/", shellConfigFilename: ".zshrc",