diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..7ace5b4 --- /dev/null +++ b/install.sh @@ -0,0 +1,23 @@ +# PCLISH - Python Command Line Shell +# Installation Script + +echo Cloning Repo to ~/.tmp/pclish-installer/files +git clone https://tildegit.org/jaydenmw/pclish ~/.tmp/pclish-installer/files +if [ -d "~/jaydenmw" ]; then + echo "~/.jaydenmw dir already exists... skipping" +else + echo "~/.jaydenmw dir doesn't exist yet... creating dir" + mkdir ~/.jaydenmw +fi +echo Creating pclish dir ~/.jaydenmw/pclish +mkdir ~/.jaydenmw/pclish +echo Installing... +mv ~/.tmp/pclish-installer/files/* ~/.jaydenmw/pclish +echo Adding software to path +echo export PATH="$HOME/.jaydenmw:$PATH" >> ~/.bashrc +echo Restarting bash... +source ~/.bashrc +echo Installation Complete + + +