1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Merge pull request #1 from palpha/feature/issue-356-support-git-bash-msysgit

Small tweaks to your Git Bash fixes for autojump
This commit is contained in:
Azriel Hoh 2019-09-04 10:00:13 +12:00 committed by GitHub
commit fcd8d6d8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -112,6 +112,9 @@ jo() {
cygwin) cygwin)
cygstart "" $(cygpath -w -a ${output}) cygstart "" $(cygpath -w -a ${output})
;; ;;
msys)
start "${output}"
;;
*) *)
echo "Unknown operating system: ${OSTYPE}." 1>&2 echo "Unknown operating system: ${OSTYPE}." 1>&2
;; ;;

View File

@ -20,7 +20,7 @@ def cp(src, dest, dryrun=False):
def in_bash(): def in_bash():
return get_shell() == 'bash' return get_shell().startswith('bash')
def in_msysgit(): def in_msysgit():