How to cd automatically after git clone?
I want to automatically cd
to the directory created by the clone
command after I git cloned
something.
Important: I don't want to alter the syntax for the command (e.g. use an alias/function) because it would break the zsh-completions I get automatically from the Pretzo
project.
EDIT: The reason I didn't pick any answer as correct, is because no answer was given that did comply with the condition above.
I use ZSH, but an answer in any other shell is acceptable as well.