Zsh Shell Tips

zsh configurations are ususally divided into 4 configuration files:

~/.zshrc - General settings
~/.zshenv - Envirnmental variable definitions

~/.zlogin - Commands to execute upon login
~/.zlogout - Commands to execute upon logout

.zshrc

To fix control character keybindings for start and end of a line (Emacs style), if not working as standard


bindkey "^A" beginning-of-line
bindkey "^E" end-of-line

.zshenv

To stop Perl interpreters not configured to expect a Unicode locale:


export PERL_BADLANG=0