diff options
author | Matthew Kosarek <matt.kosarek@canonical.com> | 2025-05-07 10:31:19 -0400 |
---|---|---|
committer | Matthew Kosarek <matt.kosarek@canonical.com> | 2025-05-07 10:31:19 -0400 |
commit | d4895f014b00a36d5e5d3b0d9cbb920ab84bf4f8 (patch) | |
tree | cdbb8101ad53013ee43995e1320583f80ed19d9d /install.py | |
parent | bec46c3de8eb6e39580f42bff2aac2080d5155ed (diff) | |
parent | 06dc0763ca4d49706ce5adbb74fb03097d44e60b (diff) |
Diffstat (limited to 'install.py')
-rwxr-xr-x | install.py | 14 |
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) |