andreafrancia / trash-cli

Command line interface to the freedesktop.org trashcan.
GNU General Public License v2.0
3.63k stars 177 forks source link

zsh tab-completion issues with external drives #278

Closed grfrederic closed 1 year ago

grfrederic commented 1 year ago

I'm using systemd to mount some external (network) drives. If they are not available, the completion hangs attempting to mount the drives, and even when they are available the completion ends up empty (I'm not sure why, it ends up empty even for my main drive...).

Is there a way to make trash-cli ignore these drives for tab suggestions? I already use the alias: alias tm="trash-put --trash-dir $TRASH_DIR" since I don't want to create Trash dirs on external drives, but that does not seem to stop completion from looking there.

sprnza commented 1 year ago

I don't think if it's resolved. I still experience the issue with the latest build.