Added autopair for fish and began setting shellInits

This commit is contained in:
2023-12-20 16:05:06 -04:00
parent aff32ffe91
commit 54bd141aec

View File

@@ -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"
];
};
}