summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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
+    '';
   };
 }