Add fish and rmtrash configurations

This commit is contained in:
panotaka
2023-11-27 10:18:31 -04:00
parent a27ab16007
commit 55d3074f0d
3 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
{
programs.fish = lib.mkForce {
enable = false;
#shellInit = lib.concatMapStrings (x: "\n" + x) [
# "eval $(thefuck --alias)"
#];
plugins = [
# Enable a plugin (here grc for colorized command output) from nixpkgs
{
name = "grc";
src = pkgs.fishPlugins.grc.src;
}
];
};
}

10
home/shell/rmtrash.nix Normal file
View File

@@ -0,0 +1,10 @@
{
home.packages = with pkgs; [
rmtrash
];
home.shellAliases = {
rm = "rmtrash";
rmdir = "rmdirtrash";
};
}

View File

@@ -18,7 +18,7 @@
{
name = "zsh-users/zsh-syntax-highlighting";
}
{ name = "marlonrichert/zsh-autocomplete"; }
#{ name = "marlonrichert/zsh-autocomplete"; }
{ name = "hlissner/zsh-autopair"; }
];