fzf-tab icon indicating copy to clipboard operation
fzf-tab copied to clipboard

Allow to customize displayed completion hits

Open adelin-b opened this issue 3 years ago • 0 comments

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. image

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`

adelin-b avatar May 26 '22 17:05 adelin-b