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:
commit
fcd8d6d8ec
@ -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
|
||||||
;;
|
;;
|
||||||
|
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user