Add fish and rmtrash configurations
This commit is contained in:
17
home/shell/fish/default.nix
Normal file
17
home/shell/fish/default.nix
Normal 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
10
home/shell/rmtrash.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
rmtrash
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
rm = "rmtrash";
|
||||
rmdir = "rmdirtrash";
|
||||
};
|
||||
}
|
||||
@@ -18,7 +18,7 @@
|
||||
{
|
||||
name = "zsh-users/zsh-syntax-highlighting";
|
||||
}
|
||||
{ name = "marlonrichert/zsh-autocomplete"; }
|
||||
#{ name = "marlonrichert/zsh-autocomplete"; }
|
||||
{ name = "hlissner/zsh-autopair"; }
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user