From 8e354db7c217701d36d5fc203c1f0bdc17f643b8 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 4 Apr 2020 11:31:49 +0800 Subject: [PATCH 1/2] [feature] support wsl-open --- open.tmux | 2 ++ 1 file changed, 2 insertions(+) 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 From b3d9a9633052f6431f1299b01da2742835f06488 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 4 Apr 2020 11:35:35 +0800 Subject: [PATCH 2/2] [feature] support WSL with wsl-open --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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