fix: ssh adapter supports any system with /bin/sh (#161)
This allows support of other *nix operating systems where bash is not universally present.
This commit is contained in:
parent
e45aeebc2b
commit
ebcd720a09
3 changed files with 4 additions and 5 deletions
|
|
@ -4,7 +4,7 @@ describe("url", function()
|
|||
it("get_url_for_path", function()
|
||||
local cases = {
|
||||
{ "", "oil://" .. util.addslash(vim.fn.getcwd()) },
|
||||
{ "term://~/oil.nvim//52953:/bin/bash", "oil://" .. vim.loop.os_homedir() .. "/oil.nvim/" },
|
||||
{ "term://~/oil.nvim//52953:/bin/sh", "oil://" .. vim.loop.os_homedir() .. "/oil.nvim/" },
|
||||
{ "/foo/bar.txt", "oil:///foo/", "bar.txt" },
|
||||
{ "oil:///foo/bar.txt", "oil:///foo/", "bar.txt" },
|
||||
{ "oil:///", "oil:///" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue