Added atom export script

This commit is contained in:
Jake Howard 2016-02-08 11:07:00 +00:00
parent cb38609429
commit a5b11a53d6

View file

@ -3,9 +3,11 @@ import json, os, shutil
DIR = os.getcwd()
def _get_json(path):
return json.load(open(DIR + path))
def update_and_upgrade():
os.system('apt-get update -y')
os.system('apt-get upgrade -y')
@ -45,6 +47,10 @@ def install_atom_packages():
os.system("apm install {}".format(packages))
def export_atom_config():
os.system("cp -R atom/* ~/.atom/")
def install_configs():
shutil.copyfile(DIR + "/config/terminator.conf", "~/.config/terminator/config")