flake/users/guanranwang/home-manager/modules/shell/fish.nix

54 lines
1.2 KiB
Nix
Raw Normal View History

2023-11-05 09:21:37 +00:00
{
inputs,
pkgs,
...
}: {
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting
source ${inputs.tokyonight}/extras/fish/tokyonight_night.fish
'';
plugins = [
{
name = "autopair";
src = pkgs.fishPlugins.autopair.src;
}
{
name = "done";
src = pkgs.fishPlugins.done.src;
}
2023-11-14 03:22:17 +00:00
#{
# name = "tide";
# src = pkgs.fishPlugins.tide.src;
#}
2023-11-05 09:21:37 +00:00
{
name = "sponge";
src = pkgs.fishPlugins.sponge.src;
}
{
name = "puffer";
src = pkgs.fishPlugins.puffer.src;
}
{
name = "sudope";
src = pkgs.fetchFromGitHub {
owner = "oh-my-fish";
repo = "plugin-sudope";
rev = "83919a692bc1194aa322f3627c859fecace5f496";
hash = "sha256-pD4rNuqg6TG22L9m8425CO2iqcYm8JaAEXIVa0H/v/U=";
};
}
{
name = "fish-abbreviation-tips";
src = pkgs.fetchFromGitHub {
owner = "gazorby";
repo = "fish-abbreviation-tips";
rev = "8ed76a62bb044ba4ad8e3e6832640178880df485";
hash = "sha256-F1t81VliD+v6WEWqj1c1ehFBXzqLyumx5vV46s/FZRU=";
};
}
];
};
}