From afff88c47dab7a74774b19edca2df0a37937fa6a Mon Sep 17 00:00:00 2001 From: Niklas Janz <73825969+gl-njanz@users.noreply.github.com> Date: Tue, 3 Jan 2023 13:01:35 +0100 Subject: [PATCH] add `git` instructions --- .../Secretive/Controllers/ShellConfigurationController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/Secretive/Controllers/ShellConfigurationController.swift b/Sources/Secretive/Controllers/ShellConfigurationController.swift index 2f3e4c6..8351d0b 100644 --- a/Sources/Secretive/Controllers/ShellConfigurationController.swift +++ b/Sources/Secretive/Controllers/ShellConfigurationController.swift @@ -24,6 +24,10 @@ struct ShellConfigurationController { shellConfigDirectory: "~/.config/fish", shellConfigFilename: "config.fish", text: "set -x SSH_AUTH_SOCK \(socketPath)"), + ShellConfigInstruction(shell: "git", + shellConfigDirectory: "~/", + shellConfigFilename: ".gitconfig", + text: "[gpg]\n\tformat = ssh\n[commit]\n\tgpgsign = true\n[tag]\n\tgpgsign = true"), ] }