diff --git a/bin/autojump.bash b/bin/autojump.bash index 2d6580b..1bc4940 100644 --- a/bin/autojump.bash +++ b/bin/autojump.bash @@ -111,7 +111,7 @@ function jo { open "$(autojump $@)" ;; cygwin) - cmd /C start "" $(cygpath -w -a $(pwd)) + cygstart "" $(cygpath -w -a $(pwd)) ;; *) echo "Unknown operating system." 1>&2 diff --git a/bin/autojump.zsh b/bin/autojump.zsh index 9252934..edaf90c 100644 --- a/bin/autojump.zsh +++ b/bin/autojump.zsh @@ -75,7 +75,7 @@ function jo { open "$(autojump $@)" ;; cygwin) - cmd /C start "" $(cygpath -w -a $(pwd)) + cygstart "" $(cygpath -w -a $(pwd)) ;; *) echo "Unknown operating system." 1>&2