update rules to adapt zsh