Sublime Forum

Automatically creating default config for current user

#1

In Ubuntu, I notice that when I start Sublime for the first time, it creates a default config in ~/.config/sublime-text-2/.

Is there a way to do this automatically without invoking the GUI?

The reason I ask is because I’m creating a puppet module to automatically deploy the application.

Chris

0 Likes

#2

In case anyone needs this for automated deployments, I figured out a little workaround for it:

sublime_text --command exit
0 Likes

#3

Neat solution :slight_smile:

Can I ask why you need to do this? I would have thought that creating the files on demand shouldn’t cause any problems. It’s worth nothing that when new versions are installed, it’ll update the files in ~/.config/sublime-text-2 in a similar manner.

0 Likes