You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this something that's up for consideration? I use different operating systems for work vs. my personal computer. As of now, I'm controlling which files are backed up and/or reinstalled with something like [[ $OSTYPE =~ 'linux' ]] or [[ $OSTYPE =~ 'darwin' ]] in the condition fields, but it doesn't make much sense to backup shallow-backup.conf itself due to paths differing based on the OS, e.g. on my Macbook, my Sublime Text settings are at /Users/$USER/Library/Application Support/Sublime Text 3/Installed Packages, while on my personal Windows machine with WSL, they're at /mnt/c/Users/$USER/AppData/Roaming/Sublime Text 3. The backup_path potentially differs for both as well.
Basically, more programmatic parsing of shallow-backup.conf is what I'm looking for.
The text was updated successfully, but these errors were encountered:
I'm open to re-engineering this feature. It was a duct-tape patch originally to get minimal functionality for me to use it across my devices, but definitely has some shortcomings (like you mentioned).
It would be a good idea to fix this.
One idea is separate top level keys per-OS. This leads to a lot of duplication, so maybe we could have a default backup profile and then OS-specific overrides.
Is this something that's up for consideration? I use different operating systems for work vs. my personal computer. As of now, I'm controlling which files are backed up and/or reinstalled with something like
[[ $OSTYPE =~ 'linux' ]]
or[[ $OSTYPE =~ 'darwin' ]]
in the condition fields, but it doesn't make much sense to backupshallow-backup.conf
itself due to paths differing based on the OS, e.g. on my Macbook, my Sublime Text settings are at/Users/$USER/Library/Application Support/Sublime Text 3/Installed Packages
, while on my personal Windows machine with WSL, they're at/mnt/c/Users/$USER/AppData/Roaming/Sublime Text 3
. Thebackup_path
potentially differs for both as well.Basically, more programmatic parsing of
shallow-backup.conf
is what I'm looking for.The text was updated successfully, but these errors were encountered: