Added zsh-style cd string replacement function