mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 07:14:34 +00:00
35 lines
826 B
Nix
35 lines
826 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (pkgs) fetchFromGitHub;
|
|
in {
|
|
programs.zsh.plugins = [
|
|
{
|
|
name = "zsh-nix-shell";
|
|
src = pkgs.zsh-nix-shell;
|
|
file = "share/zsh-nix-shell/nix-shell.plugin.zsh";
|
|
}
|
|
{
|
|
name = "fast-syntax-highlighting";
|
|
src = "${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions";
|
|
}
|
|
{
|
|
name = "zsh-autosuggestions";
|
|
src = pkgs.zsh-autosuggestions;
|
|
file = "share/zsh-autosuggestions/zsh-autosuggestions.zsh";
|
|
}
|
|
{
|
|
name = "zsh-autopair";
|
|
file = "zsh-autopair.plugin.zsh";
|
|
src = fetchFromGitHub {
|
|
owner = "hlissner";
|
|
repo = "zsh-autopair";
|
|
rev = "2ec3fd3c9b950c01dbffbb2a4d191e1d34b8c58a";
|
|
hash = "sha256-Y7fkpvCOC/lC2CHYui+6vOdNO8dNHGrVYTGGNf9qgdg=";
|
|
};
|
|
}
|
|
];
|
|
}
|