typo in shell history solutions. thanks rafael forrez