Skip to content

Commit

Permalink
Merge 34996d7 into 4214d47
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderProd committed Dec 22, 2018
2 parents 4214d47 + 34996d7 commit 60e4032
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions shallow_backup/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,27 @@ 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 = os.path.join(get_home(), "Library/Application Support/Code")
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: "vscode",
atom_path: "atom",
terminal_path: "terminal_plist"
}
else:
sublime2_path = "/.config/sublime-text-2"
sublime3_path = "/.config/sublime-text-3"
vscode_path = "/.config/Code"
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: "vscode",
atom_path: "atom"
}

Expand Down
3 changes: 2 additions & 1 deletion shallow_backup/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def get_default_config():
],
"dotfolders" : [
".ssh",
".vim"
".vim",
".vscode"
],
"default-gitignore": [
"dotfiles/.ssh",
Expand Down

0 comments on commit 60e4032

Please sign in to comment.