Show previous commands using arrow keys
Advanced command history
Move cursor to the end of line when getting previous commands
Minor adjustments on previous commit