Fixed which output at each new shell creation