.dotfiles/install.sh

17 lines
344 B
Bash
Raw Normal View History

2020-11-07 16:57:15 +01:00
#!/bin/bash
#Prerequesits
echo "-- Installing git --"
install git
if [ "$(which $1)" != "" ]; then
apt-get install $1 -y > /dev/null
fi
2020-11-07 16:57:15 +01:00
# Cloning Repo
echo "-- Cloning repo --"
git clone git@github.com:jim-fx/.dotfiles.git ~/.dotfiles
2020-11-07 16:57:15 +01:00
# Executing the script
echo "-- starting script --"
chmod +x ~/.dotfiles/setup.sh
~/.dotfiles/setup.sh