diff options
author | Teddy Wing | 2020-12-20 15:32:44 +0100 |
---|---|---|
committer | Teddy Wing | 2020-12-20 15:32:44 +0100 |
commit | 832026cddb55d341a025427b3d5edf770a2d71ec (patch) | |
tree | 9f9029393bbc7ed624f01ead397f50f9eed5d63f /browserenv_unix.go | |
parent | 704b91ca02f87fe0f6d3e059aa2aeb8e3e823c14 (diff) | |
download | browserenv-832026cddb55d341a025427b3d5edf770a2d71ec.tar.bz2 |
Rename `escapeBrowserCommand()` to `shellEscapeCommand()`
Didn't like `escapeBrowserCommand()` either, since we're escaping the
URL not the rest of the command.
Diffstat (limited to 'browserenv_unix.go')
-rw-r--r-- | browserenv_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/browserenv_unix.go b/browserenv_unix.go index d2f9538..0e62fe5 100644 --- a/browserenv_unix.go +++ b/browserenv_unix.go @@ -19,7 +19,7 @@ func shell() (args []string) { } // TODO -func escapeBrowserCommand(browser, url string) string { +func shellEscapeCommand(browser, url string) string { // TODO: handle %s in browser command return fmt.Sprintf("%s '%s'", browser, url) } |