WSL-OPEN(1)

πŸ“¦ version 2.2.1, in nixos 26.05, nixpkgs unstable

πŸ’… wsl-open (WSL-OPEN(1)) πŸ’…

okay bestie, welcome to the wsl-open manual page, like the actual wsl-open manual one β€” yes that's a thing, the manual's name is literally wsl-open πŸŽ€


✨ SYNOPSIS ✨

wsl-open [OPTIONS] { FILE | DIRECTORY | URL }

πŸ¦‹ DESCRIPTION πŸ¦‹

so wsl-open is a shell script (yes, a shell script, we love a humble icon πŸ‘‘) that uses Bash for Windows' powershell.exe Start command to open files with Windows applications. that's it. that's the whole vibe check. you're in WSL, you got a file, you want Windows to handle it β€” boom, slay πŸ’–

🌸 OPTIONS 🌸

  • -h β€” displays this help page. the "help me help you" button, fr fr 🫢
  • -a β€” associates this script with xdg-open for files like this. cute lil friendship bracelet between wsl-open and xdg-open ✨
  • -d β€” disassociates this script with xdg-open for files like this. breaking up is hard to do but sometimes you gotta 😭
  • -w β€” associates this script with xdg-open for links (http://). same bestie energy, but for the urls 🌈
  • -x β€” dry run, does not open file, just echos command used to do it. Useful for testing. literally the "look but don't touch" option πŸ’… perfect for when you're nosy but responsible πŸ™ˆ

πŸŽ€ EXAMPLES πŸŽ€

wsl-open manual.docx
wsl-open /mnt/c/Users/Test\ User/Downloads/profile.png
wsl-open https://gitlab.com/4U6U57/wsl-open
wsl-open -a README.txt

⭐ AUTHORS ⭐

August Valera @4U6U57 on GitLab/GitHub β€” the main character who made this happen πŸ‘‘πŸ’œ

🧚 SEE ALSO 🧚

xdg-open(1), Project Page https://gitlab.com/4U6U57/wsl-open


ngl bestie, if you got this far you're lowkey a Unix girlie now. go open some files, iykyk πŸ’€πŸ”₯

okay that's the whole page!! it's wsl-open version 2.2.1, dated January 2021, and honestly? iconic. periodt. πŸ“πŸ¦‹πŸ’–

πŸ“¦ where this page comes from