feat(nnn): dump trash files

This commit is contained in:
Michel 2024-04-26 09:14:59 +02:00
parent 8c8b57ab1c
commit 7d69fd73e2

11
.zshrc
View File

@ -246,15 +246,16 @@ compdef hg=rg
local nnn_plug=( local nnn_plug=(
'b:-!bat --paging=always "$nnn"*' 'b:-!bat --paging=always "$nnn"*'
'd:fzcd' 'd:fzcd' # fzf-select a file & cd to its folder
'z:fzopen' 'z:fzopen' # fzf-select a file & open it
'm:mimelist' 'm:mimelist' # List files corresponding to given mime type
'o:-!mimeopen "$nnn"*' 'o:-!mimeopen "$nnn"*'
'O:-!mimeopen --ask "$nnn"*' 'O:-!mimeopen --ask "$nnn"*'
'U:umounttree' 'U:umounttree' # Un-mount from any subdir
';:-!clear*' ';:-!clear*'
# TODO Dump trash 't:-!trash-list | rg --color=always $PWD | less *' # Dump files trashed at PWD (date order)
'T:-!trash-list | rg --color=always $PWD | sort -k3 | less *' # Dump files trashed at PWD (name order)
) )
n() n()