I am using zsh and oh-my-zsh on Ubuntu.
To change into the recent directory in the past there was an alias set to -
which is the same as cd -
. Somehow the alias disappeared at my machine. This might have happened due to updates I pulled from the oh-my-zsh repository.
Now, I would like to add this alias to my own dotfiles. How can I do this?