diff options
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | install.py | 14 |
2 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,6 @@ +# Dotfiles + +## Install +```sh +git clone https://git.matthewkosarek.xyz/dotfiles.git/ +``` 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) |