Skip to content

Instantly share code, notes, and snippets.

@bitboxer
Last active May 8, 2024 09:36
Show Gist options
  • Save bitboxer/f98195bb1bac3bb0babf to your computer and use it in GitHub Desktop.
Save bitboxer/f98195bb1bac3bb0babf to your computer and use it in GitHub Desktop.
Open tower in current directory
# opens the current git repo in tower if no argument is given
tower() {
if [[ "$#" > 0 ]]; then
gittower $@
else
gittower `git rev-parse --show-toplevel`
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment