Open ~/.bash_profile
in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {
(function () | |
{ | |
//Build a pseudo-class to prevent polluting our own scope. | |
var api = { | |
Settings: {}, | |
Vox: {}, | |
Start: function () | |
{ | |
//Get the *.myshopify.com domain | |
var shop = Shopify.shop; |