I am having issues writing to the end of a line in my terminal. I can type fine but when I move left to edit the line (using the arrow keys), I cannot use the arrow keys to go back to the end of the line. I can jump to the end of the line using the alt + up or move to the last second to the last character and press delete and start typing at the end of the line again. Does anyone know about this bug? Or is it possible that by editing my bash_profile I removed something that would help fix this bug?
Is there anyway to use the arrow keys to move?
Thanks
export PATH=/usr/local/bin:$PATH
#Create prompt with colors
function prompt
{
# \[ sets the charcters to no over write so the line wraps correctly
local RED="\[\e[0;31m\]"
local BLACK="\[\e[1;30m\]"
local WHITE="\[\e[0;0m\]"
local GREEN="\[\e[1;32m\]"
local PLAIN="\[\e[m\]"
export PS1="${BLACK}${RED}\W ${GREEN}- ${WHITE}${PLAIN}"
}
set prompt="%{e[?7h%}%m%# "
prompt
# File and Directory Highlighting
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
# Terminal Options
set complete=enhance
set autolist=v
set implicitcd
set -o noclobber
set -o vi
# RVM path
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"