replace zsh dependent code to bash compatible code