tmux-plugins / tmux-open

Tmux key bindings for quick opening of a highlighted file or url
MIT License
642 stars 62 forks source link

Adding cygwin support #11

Open aru opened 9 years ago

aru commented 9 years ago

Cygwin doesn't have xdg-open yet, so using cygstart is a common workaround for this (see http://www.dwheeler.com/essays/open-files-urls.html ), if this is accepted, adding windows support should be done equally, using "cmd /c start" instead of xdg-open.

Instead of creating these small functions, would it be better to just set platfrom=$(uname) globally and query from there?