Added autopair for fish and began setting shellInits
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
grc
|
grc
|
||||||
];
|
];
|
||||||
@@ -7,11 +11,20 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
# Enable a plugin (here grc for colorized command output) from nixpkgs
|
|
||||||
{
|
{
|
||||||
name = "grc";
|
name = "grc";
|
||||||
src = pkgs.fishPlugins.grc.src;
|
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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user