babarot/enhancd

How to disable when I run `cd -`

Closed this issue · 1 comments

k1832 commented

Question
How to disable enhancd when I run cd -?
I want to go to the previous working directory ($OLDPWD) by running cd -, as the normal Unix cd command does.

k1832 commented

I managed to do what I wanted to do by adding the line below in my .zshrc.
export ENHANCD_HYPHEN_ARG=""