1
0
mirror of https://github.com/maxgoedjen/secretive.git synced 2025-06-05 06:50:57 +00:00

Configure ssh directly instead of setting environment variable ()

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

View File

@ -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",