I'm using iTerm and Terminal in Mac OS X El Captain.
When I delete characters using "delete" button in the command line, it stuck at some point and don't move left further in both iTerm and Terminal.
For example, I typed
%ps -aef | grep test
and then tried to remove this command entirely from the last char using "delete" button.
But when I removed until e and I still had
%ps -a
and then stuck and couldn't remove from a. I can't completely remove the entire command. It happens so frequently and very annoying.
Does anyone know how to solve this issue?
Someone already replied and asked some and this is my reply:
export PS1="\e[\033[35m[\u:\W]\$ \e[m "
in .bash_profileecho $TERM
output isxterm-256color
delete- delete key is backspace key on mac book air