Fix test shell

This commit is contained in:
Max Goedjen 2020-09-20 20:36:29 -07:00
parent 3801510731
commit 168ee3c269
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

@ -7,24 +7,19 @@ struct ShellConfigurationController {
var shellInstructions: [ShellConfigInstruction] { var shellInstructions: [ShellConfigInstruction] {
[ [
ShellConfigInstruction(shell: "test", ShellConfigInstruction(shell: "zsh",
shellConfigDirectory: "~/", shellConfigDirectory: "~/",
shellConfigFilename: ".test", shellConfigFilename: ".zshrc",
text: "export SSH_AUTH_SOCK=\(socketPath)"), text: "export SSH_AUTH_SOCK=\(socketPath)"),
ShellConfigInstruction(shell: "bash",
// ShellConfigInstruction(shell: "zsh", shellConfigDirectory: "~/",
// shellConfigDirectory: "~/", shellConfigFilename: ".bashrc",
// shellConfigFilename: ".zshrc", text: "export SSH_AUTH_SOCK=\(socketPath)"),
// text: "export SSH_AUTH_SOCK=\(socketPath)"), ShellConfigInstruction(shell: "fish",
ShellConfigInstruction(shell: "bash", shellConfigDirectory: "~/.config/fish",
shellConfigDirectory: "~/", shellConfigFilename: "config.fish",
shellConfigFilename: ".bashrc", text: "set -x SSH_AUTH_SOCK=\(socketPath)"),
text: "export SSH_AUTH_SOCK=\(socketPath)"), ]
ShellConfigInstruction(shell: "fish",
shellConfigDirectory: "~/.config/fish",
shellConfigFilename: "config.fish",
text: "set -x SSH_AUTH_SOCK=\(socketPath)"),
]
} }