diff --git a/bin/autojump.bash b/bin/autojump.bash index 405f999..c1774b6 100644 --- a/bin/autojump.bash +++ b/bin/autojump.bash @@ -93,7 +93,7 @@ jo() { output="$(autojump ${@})" if [[ -d "${output}" ]]; then case ${OSTYPE} in - linux-gnu) + linux|linux-gnu) xdg-open "${output}" ;; darwin*) @@ -103,7 +103,7 @@ jo() { cygstart "" $(cygpath -w -a ${output}) ;; *) - echo "Unknown operating system." 1>&2 + echo "Unknown operating system '${OSTYPE}'." 1>&2 ;; esac else