alichtman / alichtman/shallow-backup
OS-specific configurations
- Lenguaje dominante
- Python
- Estrellas
- 1.3k
- Forks
- 267
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.