This PR add more options for the environment variable NNN_TRASH.
Currently, NNN_TRASH only support two external utilities: 1 for trash-put in andreafrancia/trash-cli, 2 for gio trash. These two doesn't seem to act perfectly in macOS.
In macOS, there are trash utilities like sindresorhus/macos-trash and trash, which just move files/folders to the native trash bin. The two utilities can be installed with:
brew install macos-trash
brew install trash
These two both provide the command interface trash. They are useful when an user prefer to use the native trash folder.
This PR add more options for the environment variable
NNN_TRASH
.Currently,
NNN_TRASH
only support two external utilities:1
fortrash-put
in andreafrancia/trash-cli,2
forgio trash
. These two doesn't seem to act perfectly in macOS.In macOS, there are trash utilities like sindresorhus/macos-trash and trash, which just move files/folders to the native trash bin. The two utilities can be installed with:
These two both provide the command interface
trash
. They are useful when an user prefer to use the native trash folder.Thanks for your review.