portability fixes for .zshrc