Skip to content

Commit

Permalink
Merge eea5012 into 9f8f9d4
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderProd committed Jan 5, 2019
2 parents 9f8f9d4 + eea5012 commit 23ea5b7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions shallow_backup/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,35 @@ def get_config_paths():
if "darwin" == get_os_name():
sublime2_path = os.path.join(get_home(), "Library/Application Support/Sublime Text 2")
sublime3_path = os.path.join(get_home(), "Library/Application Support/Sublime Text 3")
vscode_path_1 = os.path.join(get_home(), "Library/Application Support/Code/User/settings.json")
vscode_path_2 = os.path.join(get_home(), "Library/Application Support/Code/User/Snippets")
vscode_path_3 = os.path.join(get_home(), "Library/Application Support/Code/User/keybindings.json")
atom_path = os.path.join(get_home(), ".atom")
terminal_path = os.path.join(get_home(), "Library/Preferences/com.apple.Terminal.plist")

return {
sublime2_path: "sublime2",
sublime3_path: "sublime3",
vscode_path_1: "vscode/settings",
vscode_path_2: "vscode/Snippets",
vscode_path_3: "vscode/keybindings",
atom_path: "atom",
terminal_path: "terminal_plist"
}
else:
sublime2_path = "/.config/sublime-text-2"
sublime3_path = "/.config/sublime-text-3"
vscode_path_1 = "/.config/Code/User/settings.json"
vscode_path_2 = "/.config/Code/User/Snippets"
vscode_path_3 = "/.config/Code/User/keybindings.json"
atom_path = os.path.join(get_home(), ".atom")
return {
# TODO: Double check these paths. Not sure these are right.
sublime2_path: "sublime2",
sublime3_path: "sublime3",
vscode_path_1: "vscode_settings",
vscode_path_2: "vscode_snippets",
vscode_path_3: "vscode_keybindings",
atom_path: "atom"
}

Expand Down

0 comments on commit 23ea5b7

Please sign in to comment.