bashrc, zshrc and vimrc: improve portability