feat: add a 'del' command to fish to move items to the trash directory
This commit is contained in:
parent
8f92d51960
commit
92f410d4fd
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue