Files
LLeMbas-TTY/docs/config/lua/wezterm/open_with.md
T

17 lines
425 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')
```