osx - How to restore Sublime Text settings and preferences and undo the symlink created in Dropbox? -
how can restore sublime text settings , preferences , undo symlink created in dropbox? cannot access sublime text 2 preferences on machine after creating symlink in dropbox.
these commands ran on primary machine:
cd ~/dropbox ln -s ~/'library/application support/sublime text 2' sublime-text-2-settings
these created "sublime-text-2-settings" in dropbox root directory.
then on second machine, ran following commands:
cd ~/library/application\ support/sublime\ text\2/ rm -r packages ln -s ~/dropbox/sublime-text-2-settings packages
now, sublime text 2 on both machines being rendered in total black , white color scheme, black sidebar too, it's impossible view files. also, cannot access preferences on either machine making impossible move forward.
- how can undo symlink?
- how can access preferences on primary machine?
i spent hours customizing preferences , adding packages , hate loose all.
resolved (by brute force).
- unlink symbolic link (unlink /path/to/sym/link) (on both machines)
- copy + paste - packages folder in ~/'library/application support/sublime text 2' sublime-text-2-settings on primary machine.
- reinstall sublime text on secondary machine.
- restart sublime on both machines.
aaand, in action!
though #3 , #4 didn't have in particular order. seems main problem packages folder got moved on primary machine , replaced symbolic link on second machine. symbolic link missing packages folder since had moved on primary machine before symbolic link created.
Comments
Post a Comment