We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 197150c + c35eb2b commit 72f56f7Copy full SHA for 72f56f7
1 file changed
lua/spectre/replace/sed.lua
@@ -7,7 +7,7 @@ local sed = {}
7
sed.init = function(_, config)
8
local uname = vim.loop.os_uname().sysname
9
local sed_args
10
- if uname == 'Darwin' then
+ if uname == 'Darwin' or uname == 'FreeBSD' then
11
sed_args = { '-i', '', '-e' }
12
else
13
sed_args = { '-i', '-E' }
0 commit comments