17 lines
429 B
Markdown
17 lines
429 B
Markdown
# `wezterm.open_with(path_or_url [, application])`
|
|
|
|
{{since('20220101-133340-7edc5b5a')}}
|
|
|
|
This function opens the specified `path_or_url` with either the specified
|
|
`application` or uses the default application if `application` was not passed
|
|
in.
|
|
|
|
```lua
|
|
-- Opens a URL in your default browser
|
|
wezterm.open_with 'http://example.com'
|
|
|
|
-- Opens a URL specifically in firefox
|
|
wezterm.open_with('http://example.com', 'firefox')
|
|
```
|
|
|