mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #426] bash error in bash_completion.d/dust.bash after upgrade to v1.1.1 #186
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 @jeffbski-rga on GitHub (Aug 7, 2024).
Original GitHub issue: https://github.com/bootandy/dust/issues/426
After upgrading to the latest version 1.1.1, I started getting the error from bash_completion/dust.bash:
I am on Mac OS 14.5 with GNU bash, version 5.2.32(1)-release (x86_64-apple-darwin23.4.0)
I also get the same result if I use the native Mac GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin23)
In looking for a solution I found this stack exchange post https://unix.stackexchange.com/questions/264926/is-it-a-sane-approach-to-back-up-the-ifs-variable
So If I use this technique to save and restore IFS in the script, I don't see the error.
Here is the new code with the old code commented out.
@bootandy commented on GitHub (Aug 9, 2024):
the completion code is auto generated and we've had some trouble with the zsh version, I'll try upgrading the library.
@bootandy commented on GitHub (Apr 3, 2025):
Is this fixed now @jeffbski-rga ?- This code is autogenerated so I don't have much visibility on it.
@bootandy commented on GitHub (Apr 20, 2025):
assuming fixed.