dotfiles: small refactoring + readline