diff options
author | Matthew Kosarek <matthew@matthewkosarek.xyz> | 2024-05-27 18:49:44 -0400 |
---|---|---|
committer | Matthew Kosarek <matthew@matthewkosarek.xyz> | 2024-05-27 18:49:44 -0400 |
commit | 06dc0763ca4d49706ce5adbb74fb03097d44e60b (patch) | |
tree | b66731516cc3b93a8d69102e98621e48e048ae41 /install.py | |
parent | 7b6a852aae5cd31ed2043492b5e8029293f49e7a (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) |