Skip to content
Myr

Use "type" instead of "cat" on windows (#836)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Prabir Shrestha · committed by Junegunn Choi · parent 5bb18b6 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:plugin/fzf.vim+1 added-1 removed
302 unmodified lines
303 let prefix = source.'|'304 elseif type == 3305 let temps.input = tempname()306 call writefile(source, temps.input)307 let prefix = 'cat '.s:shellesc(temps.input).'|'307 let prefix = (s:is_win ? 'type ' : 'cat ').s:shellesc(temps.input).'|'308 else309 throw 'invalid source type'310 endif311 else
369 unmodified lines