summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-08-20 05:41:44 +0200
committerAlan Pearce2023-08-20 05:42:13 +0200
commita0c89188898a79599f83a83297946631fb78bf9b (patch)
treeb199f140e56102df3ec42350219c087360c873f5
parent60502999b37b2999db890b9bceedf66394e64ec0 (diff)
downloadnixfiles-a0c89188898a79599f83a83297946631fb78bf9b.tar.lz
nixfiles-a0c89188898a79599f83a83297946631fb78bf9b.tar.zst
nixfiles-a0c89188898a79599f83a83297946631fb78bf9b.zip
fish: install and configure ghq plugin
-rw-r--r--user/settings/fish.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/settings/fish.nix b/user/settings/fish.nix
index 6ebd3add..5af965cd 100644
--- a/user/settings/fish.nix
+++ b/user/settings/fish.nix
@@ -14,6 +14,18 @@
           sha256 = "1fwqmsrd6bpf67rgj6f362abjmpk6q8yynyskc4niwg3g15diqq5";
         };
       }
+      {
+        name = "ghq";
+        src = pkgs.fetchFromGitHub {
+          owner = "decors";
+          repo = "fish-ghq";
+          rev = "cafaaabe63c124bf0714f89ec715cfe9ece87fa2";
+          sha256 = "0cv7jpvdfdha4hrnjr887jv1pc6vcrxv2ahy7z6x562y7fd77gg9";
+        };
+      }
     ];
+    interactiveShellInit = ''
+      bind \es __ghq_repository_search
+    '';
   };
 }