Sublime Forum

When default directory was created?

#1

Hello guys, i was confused about one thing, when the default directory sublime in linux (~/.config/sublime-text-3) is created? Because I’m writing a bash script that configure and setup everything on my workspace and I need to know this. Can you answer? Is that when I open sublime for the first time?

0 Likes

#2

That folder gets created any time you start Sublime and it’s not already present; so technically the first time you launch Sublime, but also at any point where you remove it and then run Sublime as well.

The exception to that is if you create a folder named Data inside of the folder where you installed Sublime (generally easiest if you extract the tarball version; otherwise you’re likely to run into permission problems). In that case, Sublime will use that folder instead of creating ~/.config/sublime-text-3.

1 Like