alichtman / alichtman/shallow-backup
OS-specific configurations
- 主要语言
- Python
- 星标
- 1.3k
- 派生
- 267
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。