From 73d242582a3730e5e496cfbb16863e0db21e9606 Mon Sep 17 00:00:00 2001 From: Niklas Bergius Date: Tue, 3 Sep 2019 16:53:53 +0200 Subject: [PATCH 1/2] Recognizing bash.exe as bash. --- install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): From 40afedd2dd87b0b985f158a4b485145d64a2ae4c Mon Sep 17 00:00:00 2001 From: Niklas Bergius Date: Tue, 3 Sep 2019 16:54:41 +0200 Subject: [PATCH 2/2] Opening directory in Explorer when using Git Bash. --- bin/autojump.bash | 3 +++ 1 file changed, 3 insertions(+) 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 ;;