Fix vi mode for zsh and use inputrc for readline programs