Question

I'm writing a post-install script for my Ubuntu 12.04. The thing I need is to install PackageControl and all the other importent packages to Sublime Text 2 via just installed PackageControl from the shell. How can I do it? Give me some examples, please.

Thank you for your time!

Était-ce utile?

La solution

You could try to write your own Code based on PackageControl to support Shell-Access, but that would overly complicate the Plugin-Installation-Process, since Package-Installation in Sublime Text 2 is nothing more than putting files in its Packages-Directory.

I assume that you want to do this because you want to install Sublime Text on multiple PCs without the hassle of doing manual downloads from every PC.

Just create a fresh Sublime Text 2 Installation, install the Packages you need, and copy the Configuration-directory to each PC. The Configuration is in

~/.config/sublime-text-2

Copying this folder to every PC will copy the Plugins, too.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top