cohml

Results 77 comments of cohml

Actually, in investigating this further, I realized that `less`'s `--header` option - which I specify in my `BAT_PAGER` - seems to disable `-S`. @SamuelLarkin doesn't seem to be using that...

@seperman Is this issue still unresolved? If so, can you: 1. assign it to me 2. provide any starter code, or at least pointers on where to start looking into...

> What's the exact use case? I'd like to know why you need the functionality. #3572 provides one possible use case where exposing the `totalCount` (or really, the `matchCount`) could...

@amigthea Have you seen #2800, or perhaps [this discussion](https://superuser.com/questions/1640183/how-to-delete-history-lines-when-browsing-history-with-fzf)? Neither does what you want right out of the box, but might give you some ideas. I am interested in creating...

Here is a tool I just found which may help a lot: https://github.com/marlonrichert/zsh-hist Please check back in with your implementation if you get something working!

This thread has suddenly become a work of art. You all are absolute legends! Especially @LangLangBart, whose beautifully formatted comments are a joy to read. Anyway, one semi-involved followup question:...

Hot dog, your change seems to resolve the error! But now I get a different one: ``` per-directory-history-toggle-history:zle:11: can only be called from widget function ``` My zsh-fu isn't good...

Thanks for the reply. I've tried to implement what you showed, but I think it indicates a miscommunication. I assumed that what gets passed to the postprocessing function is the...

Here's what I personally am trying to do, as an example to make it concrete: ```zsh _fzf_complete_git() { ARGS="$@" if [[ "${ARGS}" == "git checkout"* ]]; then _fzf_complete --prompt="All branches>...

Actually, after thinking on it I now realize why having access to `$LBUFFER` in postprocessing is useful: You can use it to apply the same conditional branching as was done...