1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 09:15:31 +02:00

wsl-open: add page (#7007)

This commit is contained in:
Howard Yun 2021-10-27 07:51:30 -04:00 committed by GitHub
parent fc43ff3542
commit aab0a794ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
pages/windows/wsl-open.md Normal file
View file

@ -0,0 +1,24 @@
# wsl-open
> Open a file or URL from within Windows Subsystem for Linux in the user's default Windows GUI application.
> More information: <https://gitlab.com/4U6U57/wsl-open>.
- Open the current directory in Windows Explorer:
`wsl-open {{.}}`
- Open a URL in the user's default web browser in Windows:
`wsl-open {{https://example.com}}`
- Open a specific file in the user's default application in Windows:
`wsl-open {{path/to/file}}`
- Set `wsl-open` as the shell's web browser (open links with `wsl-open`):
`wsl-open -w`
- Display help:
`wsl-open -h`