summaryrefslogtreecommitdiff
path: root/install.py
diff options
context:
space:
mode:
authorMatthew Kosarek <matt.kosarek@canonical.com>2025-05-07 10:31:19 -0400
committerMatthew Kosarek <matt.kosarek@canonical.com>2025-05-07 10:31:19 -0400
commitd4895f014b00a36d5e5d3b0d9cbb920ab84bf4f8 (patch)
treecdbb8101ad53013ee43995e1320583f80ed19d9d /install.py
parentbec46c3de8eb6e39580f42bff2aac2080d5155ed (diff)
parent06dc0763ca4d49706ce5adbb74fb03097d44e60b (diff)
Merge branch 'master' of matthewkosarek.xyz:/srv/git/dotfilesHEADmaster
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)