feat(trash): default command 'trash' -> 'gio trash' (#1323)
This commit is contained in:
parent
f6eef4a1f0
commit
3c936c7cb6
@ -219,7 +219,7 @@ require'nvim-tree'.setup { -- BEGIN_DEFAULT_OPTS
|
||||
},
|
||||
},
|
||||
trash = {
|
||||
cmd = "trash",
|
||||
cmd = "gio trash",
|
||||
require_confirm = true,
|
||||
},
|
||||
live_filter = {
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -498,7 +498,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
|
||||
},
|
||||
},
|
||||
trash = {
|
||||
cmd = "trash",
|
||||
cmd = "gio trash",
|
||||
require_confirm = true,
|
||||
},
|
||||
live_filter = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user