all repos — nixfiles @ a0c89188898a79599f83a83297946631fb78bf9b

System and user configuration, managed by nix and home-manager

fish: install and configure ghq plugin
Alan Pearce alan@alanpearce.eu
Sun, 20 Aug 2023 05:41:44 +0200
commit

a0c89188898a79599f83a83297946631fb78bf9b

parent

60502999b37b2999db890b9bceedf66394e64ec0

1 files changed, 12 insertions(+), 0 deletions(-)

jump to
M user/settings/fish.nixuser/settings/fish.nix
@@ -14,6 +14,18 @@ rev = "a3426e157f94b8a9cb5bcf96946b1e55625a1948";           sha256 = "1fwqmsrd6bpf67rgj6f362abjmpk6q8yynyskc4niwg3g15diqq5";
         };
       }
+      {
+        name = "ghq";
+        src = pkgs.fetchFromGitHub {
+          owner = "decors";
+          repo = "fish-ghq";
+          rev = "cafaaabe63c124bf0714f89ec715cfe9ece87fa2";
+          sha256 = "0cv7jpvdfdha4hrnjr887jv1pc6vcrxv2ahy7z6x562y7fd77gg9";
+        };
+      }
     ];
+    interactiveShellInit = ''
+      bind \es __ghq_repository_search
+    '';
   };
 }