Snippet for Zsh to add alias that goes to the root dir of the git repository
echo "alias tt='cd \"./\$(git rev-parse --show-cdup)\"'" >> ~/.zshrc
Usage: type tt
in terminal.
Snippet for Zsh to add alias that goes to the root dir of the git repository
echo "alias tt='cd \"./\$(git rev-parse --show-cdup)\"'" >> ~/.zshrc
Usage: type tt
in terminal.
Author Damir Miladinov