diff --git a/scripts/config.sh b/scripts/config.sh index 723cfc0..480fe4e 100755 --- a/scripts/config.sh +++ b/scripts/config.sh @@ -72,13 +72,12 @@ function default_copy_command () { } function default_open_command () { - # TODO open is OSX only I think - if [[ $(program_exists "open") = "1" ]]; then - echo "xargs open" + if [[ $(program_exists "cygstart") = "1" ]]; then + echo "xargs cygstart" elif [[ $(program_exists "xdg-open") = "1" ]]; then echo "xargs xdg-open" - elif [[ $(program_exists "cygstart") = "1" ]]; then - echo "xargs cygstart" + elif [[ $(program_exists "open") = "1" ]]; then + echo "xargs open" fi }