mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #414] zsh completion does not allow directories to be tab-completed #180
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @IzhakJakov on GitHub (Jul 15, 2024).
Original GitHub issue: https://github.com/bootandy/dust/issues/414
I am experiencing the same issue as described in #359:
The original issue was resolved in #390 so I am not sure if it is me that is doing something wrong but I do not have any other zsh completion ATM.
Moreover, the completion of
--<option>works as expected so it is only the paths that are not getting completed.I am using Macbook with
M3 Probut tested this on a Macbook withIntel i9and it has the problem.@IzhakJakov commented on GitHub (Jul 15, 2024):
@IzhakJakov commented on GitHub (Jul 15, 2024):
After a quick investigation it seems like the fix is not in any official release yet thus missing from most pkg managers. I fixed the problem locally now and do not mind creating a PR to patch
v1.0.0if you do not mind creating a branch forv1.0then after merging the patch you can release as1.0.1:@bootandy commented on GitHub (Jul 17, 2024):
Sadly a re-occurring problem. Whenever anyone rebuilds the completions file it seems to destroy the fix for zsh completion.
Does your fix look like this ?
https://github.com/bootandy/dust/commit/0038cb24b4adbb85321e3c36fb7079fc898de44e
@IzhakJakov commented on GitHub (Jul 17, 2024):
Basically stole some stuff from #390 and applied them to
v1.0I did it for myself as a tmp solution until your next release but then decided to share so you can have a quick patch for
v1.0Anyways, I noticed you released
v1.1.0a few hours ago so maybe none of this matters anymore. I wait for it update in my system and if there are problems I'll re-open this issue.Thanks for taking a look!
@IzhakJakov commented on GitHub (Jul 18, 2024):
Seems to be working as expected. Tested with
v1.1.1. Thank you! 😊