From 55d3074f0dfe3fa3c8e321de20f403ce91245473 Mon Sep 17 00:00:00 2001 From: panotaka Date: Mon, 27 Nov 2023 10:18:31 -0400 Subject: [PATCH] Add fish and rmtrash configurations --- home/shell/fish/default.nix | 17 +++++++++++++++++ home/shell/rmtrash.nix | 10 ++++++++++ home/shell/zsh/default.nix | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 home/shell/fish/default.nix create mode 100644 home/shell/rmtrash.nix diff --git a/home/shell/fish/default.nix b/home/shell/fish/default.nix new file mode 100644 index 0000000..f59e624 --- /dev/null +++ b/home/shell/fish/default.nix @@ -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; + } + ]; + }; + +} diff --git a/home/shell/rmtrash.nix b/home/shell/rmtrash.nix new file mode 100644 index 0000000..fbbd47b --- /dev/null +++ b/home/shell/rmtrash.nix @@ -0,0 +1,10 @@ +{ + home.packages = with pkgs; [ + rmtrash + ]; + + home.shellAliases = { + rm = "rmtrash"; + rmdir = "rmdirtrash"; + }; +} diff --git a/home/shell/zsh/default.nix b/home/shell/zsh/default.nix index 2e5dc92..1d4270e 100644 --- a/home/shell/zsh/default.nix +++ b/home/shell/zsh/default.nix @@ -18,7 +18,7 @@ { name = "zsh-users/zsh-syntax-highlighting"; } - { name = "marlonrichert/zsh-autocomplete"; } + #{ name = "marlonrichert/zsh-autocomplete"; } { name = "hlissner/zsh-autopair"; } ];