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
FZF has a reload action, which would execute a given command and load the results back in fzf. How do I replicate this with fzf-tab ?
Example use would be with: kill -9 <tab>
and from within the completion hit Ctrl-R to reload the process list.
I can bind the reload as follows: zstyle ':fzf-tab:complete:*' fzf-bindings 'ctrl-r:reload(ps -ef)'
and this does indeed reload the process list, but with some unwanted side effects:
list is not searchable anymore
color changes
selecting an entry is not outputting anything into the terminal anymore.
I guess this is because the newly generated list is not fed into fzf-tab as completions ?
Any hints on how to get the desired behavior ?
The text was updated successfully, but these errors were encountered:
FZF has a reload action, which would execute a given command and load the results back in fzf. How do I replicate this with fzf-tab ?
Example use would be with:
kill -9 <tab>
and from within the completion hit Ctrl-R to reload the process list.
I can bind the reload as follows:
zstyle ':fzf-tab:complete:*' fzf-bindings 'ctrl-r:reload(ps -ef)'
and this does indeed reload the process list, but with some unwanted side effects:
I guess this is because the newly generated list is not fed into fzf-tab as completions ?
Any hints on how to get the desired behavior ?
The text was updated successfully, but these errors were encountered: