Johannes Altmanninger
Johannes Altmanninger
Hmm, maybe the `preexec` hook should be able to modify the commandline. What you can do now is to rebind Enter to do the rewriting.
Right, the cnf handler approach seems easier. > man bind says I cannot mix user-defined functions and special input functions I think you can use something like `bind asdf "some-function;...
I think it's a great default that `fish -c foo` behaves just like interactive `foo`. Sane `config.fish`/functions/snippets should not break reasonable scripts, but I guess script authors don't want to...
> I think it would be ideal if e.g. STRING, SEP, and brethren were styled differently than options here: Yep, especially to set them apart from literal options that happen...
On Sun, Dec 05, 2021 at 07:06:50PM -0800, Yifei Kong wrote: > Is there a command line version of `fish_config`? Web ui is good, but CLI is also needed. Yes...
yeah I think this is the least surprising behavior. If there is a concrete use case, we have a mechanism for tracing every individual process (`set fish_trace 1`) that we...
I just type `foo` Enter `notify` Enter. A wrapper script (like `notify foo`) would be a cross-shell solution. Another potential solution is a post-exec hook (`function --on-event fish_postexec`) Though I...
This sounds nice and natural, similar to what we did with `complete -c cmd` -> `complete cmd`. BTW we don't have an option for marking arguments as required, or for...
One option is to not use the completion pager. The fzf integration does that; it probably uses `commandline --replace --current-token`. Maybe your use case is something that can fully be...
The buffering matters when you process a sizeable amount of data (megabytes). Compared to their string equivalent, awk or perl make this [example from tshark.fish](https://github.com/fish-shell/fish-shell/blob/master/share/completions/tshark.fish#L15) almost three times faster, probably...