feat(trash): default command 'trash' -> 'gio trash' (#1323)
This commit is contained in:
@@ -219,7 +219,7 @@ require'nvim-tree'.setup { -- BEGIN_DEFAULT_OPTS
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
trash = {
|
trash = {
|
||||||
cmd = "trash",
|
cmd = "gio trash",
|
||||||
require_confirm = true,
|
require_confirm = true,
|
||||||
},
|
},
|
||||||
live_filter = {
|
live_filter = {
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ Values may be functions. Warning: this may result in unexpected behaviour.
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
trash = {
|
trash = {
|
||||||
cmd = "trash",
|
cmd = "gio trash",
|
||||||
require_confirm = true,
|
require_confirm = true,
|
||||||
},
|
},
|
||||||
live_filter = {
|
live_filter = {
|
||||||
@@ -652,7 +652,8 @@ Configuration options for trashing.
|
|||||||
|
|
||||||
*nvim-tree.trash.cmd*
|
*nvim-tree.trash.cmd*
|
||||||
The command used to trash items (must be installed on your system).
|
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*
|
*nvim-tree.trash.require_confirm*
|
||||||
Show a prompt before trashing takes place.
|
Show a prompt before trashing takes place.
|
||||||
|
|||||||
@@ -498,7 +498,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
trash = {
|
trash = {
|
||||||
cmd = "trash",
|
cmd = "gio trash",
|
||||||
require_confirm = true,
|
require_confirm = true,
|
||||||
},
|
},
|
||||||
live_filter = {
|
live_filter = {
|
||||||
|
|||||||
Reference in New Issue
Block a user