So whenever I try to type a command and it gets too long. The command just overwrites itself. I have tried multiple things like:
shoptshopt -s checkwinsize- Ctrl+L
- Alt+L
- Space+L
- Alt+Space+L
eval $(resize)if [ $(tty) == '/dev/ttyS0' ]; then trap resize DEBUG; fi
and I have enclosed my color command in the ~/.bashrc file in [] but still no luck.
Any help would be appriciated.
I found the source of the problem: The issue lies with my PS1 line on my ~/.bashrc file.
export PS1="[\e[0;32m[\u@\h \W]\$ "
is what I have in my file currently.