From 54bd141aec1900f605c147f61298e8baa2eb7c4a Mon Sep 17 00:00:00 2001 From: Thomas Syms Date: Wed, 20 Dec 2023 16:05:06 -0400 Subject: [PATCH] Added autopair for fish and began setting shellInits --- home/shell/fish/default.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/home/shell/fish/default.nix b/home/shell/fish/default.nix index 613e103..b383fb3 100644 --- a/home/shell/fish/default.nix +++ b/home/shell/fish/default.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + lib, + ... +}: { home.packages = with pkgs; [ grc ]; @@ -7,11 +11,20 @@ enable = true; plugins = [ - # Enable a plugin (here grc for colorized command output) from nixpkgs { name = "grc"; src = pkgs.fishPlugins.grc.src; } + { + name = "autopair"; + src = pkgs.fishPlugins.autopair; + } + ]; + shellInit = lib.concatStringsSep "\n" [ + "bind \b backward-kill-word" + ]; + interactiveShellInit = lib.concatStringsSep "\n" [ + "neofetch" ]; }; }