diff --git a/bin/autojump.bash b/bin/autojump.bash index 2198708..008deb9 100644 --- a/bin/autojump.bash +++ b/bin/autojump.bash @@ -112,6 +112,9 @@ jo() { cygwin) cygstart "" $(cygpath -w -a ${output}) ;; + msys) + start "${output}" + ;; *) echo "Unknown operating system: ${OSTYPE}." 1>&2 ;; diff --git a/install.py b/install.py index 76ffb80..76f235d 100755 --- a/install.py +++ b/install.py @@ -20,7 +20,7 @@ def cp(src, dest, dryrun=False): def in_bash(): - return get_shell() == 'bash' + return get_shell().startswith('bash') def in_msysgit():