Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config paths to config file #128

Closed
alichtman opened this issue Oct 22, 2018 · 0 comments
Closed

Add config paths to config file #128

alichtman opened this issue Oct 22, 2018 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed UI/UX

Comments

@alichtman
Copy link
Owner

alichtman commented Oct 22, 2018

These need to be easily customizable, so it makes sense to put them in the config file. Model this just like the dotfiles and dotfolders.

At the end of the day, the config should look like this.

{
    "backup_path": "/Users/alichtman/Desktop/Development/projects/shallow-backup/test",
    "dotfiles": [
        ".shallow-backup",
        ".bash_profile",
        ".zshrc",
        ".vimrc",
        ".pypirc",
        ".gitconfig",
        ".bashrc",
        ".profile"
    ],
    "dotfolders": [
        ".vim/",
        ".ssh/"
    ],
    "gitignore": [
        "dotfiles/.ssh",
        "packages/",
        "dotfiles/.pypirc"
    ],
    "config_mapping": {
		"Library/Application Support/Sublime Text 2/Packages/User/": "sublime_2",
		"Library/Application Support/Sublime Text 3/Packages/User/": "sublime_3",
		"Library/Preferences/IntelliJIdea2018.2/": "intellijidea_2018.2",
		"Library/Preferences/PyCharm2018.2/": "pycharm_2018.2",
		"Library/Preferences/CLion2018.2/": "clion_2018.2",
		"Library/Preferences/PhpStorm2018.2": "phpstorm_2018.2",
		".atom/": "atom",
	},
    "plist_mapping": {
		"Library/Preferences/com.apple.Terminal.plist": "plist/com.apple.Terminal.plist",
	},
}

Once this is done, backup_paths_temp.py should be removed from the refactoring branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed UI/UX
Projects
None yet
Development

No branches or pull requests

1 participant