Skip to content

Instantly share code, notes, and snippets.

@kevincolten
Created January 13, 2017 20:17
Show Gist options
  • Save kevincolten/19508c55c28098c2a897d4c8e48f69f3 to your computer and use it in GitHub Desktop.
Save kevincolten/19508c55c28098c2a897d4c8e48f69f3 to your computer and use it in GitHub Desktop.
Generate bash aliases for git repositories
for f in $(ls ~/github); do alias "$f"="cd ~/github/$f" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment