diff --git a/hook-flow.sh b/hook-flow.sh index 22ec0f3..532aca6 100755 --- a/hook-flow.sh +++ b/hook-flow.sh @@ -1,4 +1,13 @@ #!/bin/bash # hook-flow -open https://github.com/donavon/hook-flow +# open https://github.com/donavon/hook-flow + +unameOut="$(uname -s)" +case "${unameOut}" in + Linux*) xdg-open https://github.com/donavon/hook-flow;; + Darwin*) open https://github.com/donavon/hook-flow;; + CYGWIN*) xdg-open https://github.com/donavon/hook-flow;; + MINGW*) xdg-open https://github.com/donavon/hook-flow;; + *) echo "machine UNKNOWN" +esac