From ArchWiki
Revision as of 13:38, 10 December 2007 by AlexW (talk | contribs) (/etc/zprofile and advanced .zshrc)
Jump to: navigation, search

My most recent Archlinux installation somehow has a conflict between Eterm and zsh, I found that some applications like mc, vim and mp3blaster do not pick up the arrow keys, even when using zkbd. They send an ABCD and some escape sequence garbage.
By setting the TERM variable to xterm-color the problem was fixed. To not mess up the TERM variable in the console one could put this code in .zshrc:

if [[ $TERM == "Eterm" ]]; then

--Gilneas, 2006 Aug 11

/etc/zprofile and advanced .zshrc

I've added a /etc/zprofile section and moved some of the bits from the advanced .zshrc section to it. I'm going on what I've read of the docs, but if this is wrong, please change it. AlexW 08:38, 10 December 2007 (EST)