Repository navigation
fix: use new highlighter api for better abbr expansion - #18390
Conversation
you have to uncomment this line I think and then do that Line 468 in 8d4674a |
|
I pushed an update to update to the latest commit in reedline. @casedami We want bashisms to work as they did before as much as possible so |
|
Yeah i can do that |
|
i think this would require removing any restrictions on the bashisms expansion veto since in a command like we could add a mechanism for expanding bashisms that is not im not sure what the best fix would be. of course we can simply remove the string veto for bashisms for now since that will revert it back to the behavior from before, but it will allow things like #13577 to occur. |
|
Another thing I thought of is expanding abbreviations to support things like |
|
ok this change will restore that behavior |
|
ok, let's land this to get the latest reedline commit and these changes in. We still need to figure out how to fix the problem whether it's expanding abbreviations and eliminating so-called bashisms or some other way. Thanks for all your help @casedami !! |
Description
User-facing changes (Release notes)
Additional notes
sorry been busy this week so i was delayed getting this up @fdncred
note that for internal calls such as
echothe expansion 'bug' described in #18315 would still occur since the bang expression is parsed as a string which we've marked as a non-expansion condition. not sure if/how we want to get around that.also, running
cargo update -p reedlineisn't updating reedline to the latest commit -- any help there?