correctly escape the backslash so installed Terminal themes works
don't install homebrew and luarocks packages again if they are already installed