Configure ssh directly instead of setting environment variable (#208)

This commit is contained in:
Alex Lavallee 2021-03-06 15:21:33 -08:00 committed by GitHub
parent af479408a4
commit f30d1f802f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ struct ShellConfigurationController {
var shellInstructions: [ShellConfigInstruction] { var shellInstructions: [ShellConfigInstruction] {
[ [
ShellConfigInstruction(shell: "global",
shellConfigDirectory: "~/.ssh/",
shellConfigFilename: "config",
text: "Host *\n\tIdentityAgent \(socketPath)"),
ShellConfigInstruction(shell: "zsh", ShellConfigInstruction(shell: "zsh",
shellConfigDirectory: "~/", shellConfigDirectory: "~/",
shellConfigFilename: ".zshrc", shellConfigFilename: ".zshrc",