You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build/dev.sh m<TAB> # this works, completes 'minimal'
build/dev.sh minimal <TAB> # try to complete a second word
# now backspace
build/dev.sh m<TAB> # no longer works!!!
I don't understand why this is. But I think it's because the complex case statements in devtools/completion.bash are wrong.
Possible Strategy: instead of fixing this bug in old code that I don't particularly like, maybe develop some simpler Oil API and use that? rewrite the whole thing?
Functionality:
completes the first word
completes unit tests after the unit action.
This should be done by some more obvious pattern matching?
Other notes: there is some weirdness about how this composes with Debian's bash-completion. I remember there was a bug where I took over *.sh and that broke some debian stuff.
OK this is actually trivial: just
source devtools/completion.bash
https://oilshell.zulipchat.com/#narrow/stream/121539-oil-dev/topic/oil-dev.20completion
Maybe I should call it
devtools/oil-dev.bash
?Originally posted by @andychu in #99 (comment)
The text was updated successfully, but these errors were encountered: