alichtman / alichtman/shallow-backup
OS-specific configurations
- Lingua principale
- Python
- Stelle
- 1.3k
- Fork
- 267
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.