trash-cli
trash-cli copied to clipboard
Prevent calling `trash-list --trash-dirs` at eval time
The previous behavior caused a significant completion slowdown on linux systems with unresponsive mountpoints, which need to time out before trash-list --trash-dirs
returns. This is inevitable when completing arguments to --trash-dir
, but it should not slowdown unrelated completion queries.
Fixes #335, and likely will make completion a little bit faster for everyone.