Skip to content
Snippets Groups Projects
Commit 772fa42d authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[fish] Fix intermittent errors on CTRL-T

Related: 23244bb4
parent 85ef3263
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,7 @@ function fzf_key_bindings
-o -type d -print \
-o -type l -print 2> /dev/null | sed 1d | cut -b3-"
eval "$FZF_CTRL_T_COMMAND | "(__fzfcmd)" -m > $TMPDIR/fzf.result"
and sleep 0
and commandline -i (cat $TMPDIR/fzf.result | __fzf_escape)
and for i in (seq 20); commandline -i (cat $TMPDIR/fzf.result | __fzf_escape) 2> /dev/null; and break; sleep 0.1; end
commandline -f repaint
rm -f $TMPDIR/fzf.result
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment