diff --git a/programs/fish/config.nix b/programs/fish/config.nix index c2540e9..bbb55d7 100644 --- a/programs/fish/config.nix +++ b/programs/fish/config.nix @@ -29,6 +29,10 @@ z = "zoxide"; }; + shellAliases = { + del = "trash_file"; + }; + functions = { fish_prompt.body = '' set_color CC241D @@ -38,6 +42,10 @@ fzf_edit.body = '' fzf --multi --bind 'enter:become(nvim {+})' ''; + + trash_file.body = '' + mv $argv ~/.local/share/Trash + ''; }; }; }