]> git.wincent.com - wincent.git/commitdiff
feat: add bin/git-cipher symlink as a convenience
authorGreg Hurrell <greg@hurrell.net>
Mon, 7 Jun 2021 14:13:04 +0000 (16:13 +0200)
committerGreg Hurrell <greg@hurrell.net>
Mon, 7 Jun 2021 14:13:04 +0000 (16:13 +0200)
aspects/ssh/index.ts
bin/git-cipher [new symlink]

index 1fe6b341d3437977e541d3825fabbb1f61b76f73..6cff9b2f1320392a997ea7443a5dfcc47f7ac982 100644 (file)
@@ -20,7 +20,7 @@ task('install ~/.ssh/config', async () => {
     // because we won't have the GPG key on the machine yet...
     // although maybe I should just do that...)
     if (stats === null) {
     // because we won't have the GPG key on the machine yet...
     // although maybe I should just do that...)
     if (stats === null) {
-      fail(`"${src}" does not exist; run "vendor/git-cipher/bin/git-cipher"`);
+      fail(`"${src}" does not exist; run "bin/git-cipher"`);
     } else if (stats instanceof Error) {
       throw stats;
     } else {
     } else if (stats instanceof Error) {
       throw stats;
     } else {
diff --git a/bin/git-cipher b/bin/git-cipher
new file mode 120000 (symlink)
index 0000000..294e20e
--- /dev/null
@@ -0,0 +1 @@
+../vendor/git-cipher/bin/git-cipher
\ No newline at end of file