Johannes Altmanninger

Results 734 comments of Johannes Altmanninger

> $ abbr --add = --position anywhere --function _which > $ _which ls > /usr/bin/ls > $ echo =ls > =ls needs "--regex '=\w+'", else it will match only literal...

Thanks for linking the previous discussion. The gist is > Braces are now equivalent to a new form of quoting, except the quote is preserved and emitted in the output....

nevermind, I thought that the regex applies to the entire commandline but it doesn't

sounds like a good idea, proposed implementation is in https://github.com/fish-shell/fish-shell/pull/9515 Can we make it more discoverable, maybe bind it to Delete? When used accidentally it deletes the command permanently but...

@r3a1d3a1 yeah I noticed that as well. I didn't root-cause it yet. It no longer happens with the upcoming https://github.com/fish-shell/fish-shell/pull/10359, at least on a terminal that supports CSI u

This is a great step in the right direction, thanks! I left some minor nitpicks. Nice to see Git folk stop by :)

you're right, that should probably be fixed before merging. There are two things that can enqueue readline events: keyboard input and the `commandline` builtin. Both run on the main thread...

This should be fix for most practical cases by c3cd68dda (Process shell commands from bindings like regular char events, 2024-03-02) The only limitation is that commands that want to see...

this is fixed by 611a0572b~3..611a0572b To format the commandline one can use ` | fish_indent | fish_indent --only-unindent`. Perhaps this is the wrong interface and we should add it to...