I read Why doesn't .bashrc run automatically? about sourcing
.bashrc and adjusted my config to match this. I am using iTerm2 as my terminal.
Unfortunately, when I do this, my MacVim shell breaks - backspace doesn't work and I have strange characters all over the place. Note the characters
?1034h before the prompt and the
K that appears when hitting the backspace key.
alias ll='ls -al' # Set CLICOLOR if you want Ansi Colors in iTerm2 export CLICOLOR=1 # Set colors to match iTerm2 Terminal Colors export TERM=xterm-256color
If copy the settings from
.bash_profile and delete
.bashrc then the shell in MacVim works fine.
Any idea why MacVim shell breaks sourcing