feat(trash): default command 'trash' -> 'gio trash' (#1323)

This commit is contained in:
Raafat Turki 2022-06-06 12:13:37 +03:00 committed by GitHub
parent f6eef4a1f0
commit 3c936c7cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -219,7 +219,7 @@ require'nvim-tree'.setup { -- BEGIN_DEFAULT_OPTS
},
},
trash = {
cmd = "trash",
cmd = "gio trash",
require_confirm = true,
},
live_filter = {

View File

@ -237,7 +237,7 @@ Values may be functions. Warning: this may result in unexpected behaviour.
},
},
trash = {
cmd = "trash",
cmd = "gio trash",
require_confirm = true,
},
live_filter = {
@ -652,7 +652,8 @@ Configuration options for trashing.
*nvim-tree.trash.cmd*
The command used to trash items (must be installed on your system).
Type: `string`, Default: `"trash"`
The default is shipped with glib2 which is a common linux package.
Type: `string`, Default: `"gio trash"`
*nvim-tree.trash.require_confirm*
Show a prompt before trashing takes place.

View File

@ -498,7 +498,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
},
},
trash = {
cmd = "trash",
cmd = "gio trash",
require_confirm = true,
},
live_filter = {