Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Latest commit

 

History

History
23 lines (18 loc) · 813 Bytes

readme.md

File metadata and controls

23 lines (18 loc) · 813 Bytes

fzf plugin for micro

This repository holds the fzf plugin for micro

Troubleshooting

There is a known issue when using fzf with fish shell. To work around this, you should create a new fish shell function called fzf to be trigged instead of the fzf command directly. You can copy and past the following snippet into the file:

$FISH_CONFIG_PATH/functions/fzf.fish

    function fzf
        set -l epoch (date "+%s")
        set -l file_path $TMPDIR/fzf-$epoch.result
        command fzf $argv >$file_path
        if test $status -eq 0 -a -s $file_path
            cat $file_path
        end
        if test -e $file_path
            rm $file_path
        end
    end