ZSH adaptation