From 2f2870dac49f5dcca9014db183f7be398ace889e Mon Sep 17 00:00:00 2001 From: Niklas Janz <73825969+gl-njanz@users.noreply.github.com> Date: Tue, 3 Jan 2023 12:43:22 +0100 Subject: [PATCH 1/2] add language to codeblocks --- APP_CONFIG.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/APP_CONFIG.md b/APP_CONFIG.md index 863177a..c38ff34 100644 --- a/APP_CONFIG.md +++ b/APP_CONFIG.md @@ -12,7 +12,7 @@ Should just work, no configuration needed Add this to your `~/.ssh/config` (the path should match the socket path from the setup flow). -``` +```text Host * IdentityAgent /Users/$YOUR_USERNAME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh ``` @@ -21,7 +21,7 @@ Host * Add this to your `~/.ssh/config` (the path should match the socket path from the setup flow). -``` +```text Host * IdentityAgent /Users/$YOUR_USERNAME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh ``` @@ -30,7 +30,7 @@ Host * Add this to your `~/.ssh/config` (the path should match the socket path from the setup flow). -``` +```text Host * IdentityAgent /Users/$YOUR_USERNAME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh ``` @@ -39,7 +39,7 @@ Host * Add this to `~/Library/LaunchAgents/com.maxgoedjen.Secretive.SecretAgent.plist` -``` +```xml @@ -64,7 +64,7 @@ Log out and log in again before launching Cyberduck. Add this to `~/Library/LaunchAgents/com.maxgoedjen.Secretive.SecretAgent.plist` -``` +```xml @@ -89,7 +89,7 @@ Log out and log in again before launching Mountain Duck. Add this to `~/Library/LaunchAgents/com.maxgoedjen.Secretive.SecretAgent.plist` -``` +```xml @@ -110,7 +110,7 @@ Add this to `~/Library/LaunchAgents/com.maxgoedjen.Secretive.SecretAgent.plist` Log out and log in again before launching Gitkraken. Then enable "Use local SSH agent in GitKraken Preferences (Located under Preferences -> SSH) -# The app I use isn't listed here! +## The app I use isn't listed here! If you know how to get it set up, please open a PR for this page and add it! Contributions are very welcome. If you're not able to get it working, please file a [GitHub issue](https://github.com/maxgoedjen/secretive/issues/new) for it. No guarantees we'll be able to get it working, but chances are someone else in the community might be able to. 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 2/2] 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"), ] }