First Commit
This commit is contained in:
25
home/terminal/fish.nix
Normal file
25
home/terminal/fish.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
pkgs,
|
||||
host,
|
||||
...
|
||||
}: {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
fr = "sudo nixos-rebuild switch --flake ~/LillyOS/#${host}";
|
||||
};
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting # Disable greeting
|
||||
'';
|
||||
plugins = [
|
||||
# Enable a plugin (here grc for colorized command output) from nixpkgs
|
||||
{ name = "grc"; src = pkgs.fishPlugins.grc.src; }
|
||||
{ name = "tide"; src = pkgs.fishPlugins.tide.src; }
|
||||
{ name = "done"; src = pkgs.fishPlugins.done.src; }
|
||||
{ name = "fish-you-should-use"; src = pkgs.fishPlugins.fish-you-should-use.src; }
|
||||
{ name = "autopair"; src = pkgs.fishPlugins.autopair.src; }
|
||||
{ name = "fzf-fish"; src = pkgs.fishPlugins.fzf-fish.src; }
|
||||
{ name = "git-abbr"; src = pkgs.fishPlugins.git-abbr.src; }
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user