Created
January 29, 2016 16:04
-
-
Save rob-murray/eae4de91f8db810d118a to your computer and use it in GitHub Desktop.
Open last migration in SublimeText
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc | |
open_last_migration(){ | |
subl db/migrate/$(ls db/migrate/ | sort | tail -1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment