fix shell command like (cd test && ls)