fzf-tab
fzf-tab copied to clipboard
Allow to customize displayed completion hits
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A while ago I used this plugin to do something like this where i modified completion to put an icon in front.

To do that I added a hook in the bash code that allow to modify the strings shown in fzf
I would be nice if we could have it again
# description: the string that fzf will match us to
# group: the group of completion (file, commit, options etc)
zstyle `:fzf-tab:*:file` fzf-description `echo $description | devicon `
zstyle `:fzf-tab:*:file` fzf-description `echo "[$(custom_icon $group) $groug]" $description`