aboutsummaryrefslogtreecommitdiff
path: root/windows/wsl.md
blob: 7dd1b0abdeab6379bcd51c0c8bae3e7f4a86270a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# WSL

## Opening links in a Windows browser

Create `~/.local/bin/x-www-browser` with the following content:

```
#!/bin/sh

/mnt/c/Windows/explorer.exe "$@"
true # ignore exit code so xdg-open works correctly
```

Ensure that the file is executable.

`xdg-open` uses `x-www-browser`.