fix history to work like bash