summaryrefslogtreecommitdiff
path: root/install.py
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew@matthewkosarek.xyz>2024-05-27 18:49:44 -0400
committerMatthew Kosarek <matthew@matthewkosarek.xyz>2024-05-27 18:49:44 -0400
commit06dc0763ca4d49706ce5adbb74fb03097d44e60b (patch)
treeb66731516cc3b93a8d69102e98621e48e048ae41 /install.py
parent7b6a852aae5cd31ed2043492b5e8029293f49e7a (diff)
refactor: remove lots of unused cruft and include an installHEADmaster
Diffstat (limited to 'install.py')
-rwxr-xr-xinstall.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/install.py b/install.py
new file mode 100755
index 0000000..ab25e93
--- /dev/null
+++ b/install.py
@@ -0,0 +1,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)