summaryrefslogtreecommitdiff
path: root/install.py
blob: ab25e93aecb777698c059e7ba0de6edf770aefe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python3

import shutil
from os.path import expanduser
import os

project = os.path.dirname(os.path.realpath(__file__))
home = expanduser("~")

bashrc_project = os.path.join(project, "bashrc")
bashrc_home = os.path.join(home, ".bashrc")

print("Copying bashrc...")
shutil.copyfile(bashrc_project, bashrc_home)