This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Add this script to a global directory (e.g. /usr/local/bin) in your WSL | |
without the ``.py`` extension. | |
This script will automatically open any file/directory with it's default | |
Windows Application. Directories will be opened with Windows' file | |
explorer. | |
Usage: open <(dir/file)> |