  We construct a bijection from permutations to some weighted Motzkin paths
known as Laguerre histories. As one application of our bijection, a neat
$q$-$\gamma$-positivity expansion of the $(\inv,\exc)$-$q$-Eulerian polynomials
is obtained.
