SublimeText-Package-Syncing icon indicating copy to clipboard operation
SublimeText-Package-Syncing copied to clipboard

sync_folder is an absolute path

Open zachriggle opened this issue 10 years ago • 0 comments

sync_folder is currently an absolute path, which prevents (ironically) syncing the PackageSyncing settings between different machines.

For example, if my home directory is /home/usera and /home/userb on two different machines, and I copy my Sublime .config/sublime-text-3/Packages/User/ settings between the two machines (which includes the Package Syncing plugin), I run into issues.

Suggested Remedy: Run os.path.expanduser or os.path.expandvars on sync_folder.

Alternately, prefix the home directory to the path if it does not start with a / or \ (i.e., is a relative path).

zachriggle avatar Jan 04 '15 23:01 zachriggle