diff --git a/README.md b/README.md index d2d17bc..fcafffb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Plugin for opening highlighted selection directly from Tmux copy mode. -Tested and working on Linux, OSX and Cygwin. +Tested and working on Linux, OSX, Cygwin and WSL with [wsl-open](https://github.com/4U6U57/wsl-open). ### Key bindings diff --git a/open.tmux b/open.tmux index 824ea24..af8beaf 100755 --- a/open.tmux +++ b/open.tmux @@ -51,6 +51,8 @@ generate_open_command() { echo "$(command_generator "open")" elif is_cygwin; then echo "$(command_generator "cygstart")" + elif command_exists "wsl-open"; then + echo "$(command_generator "wsl-open")" elif command_exists "xdg-open"; then echo "$(command_generator "xdg-open")" else