Files
dotfiles/bootstrap.sh

16 lines
359 B
Bash
Executable File

#!/bin/bash
which git > /dev/null
if [ $? -ne 0 ]; then
echo "Git isn't installed."
exit
fi
git clone https://github.com/nikdoof/dotfiles.git $HOME/.dotfiles > /dev/null
cd $HOME/.dotfiles/
for package in bin bash; do
echo "Stowing ${package}"
./bin/bin/stowage $package
done
echo ""
echo "Done, either source ~/.bash_profile or restart your shell."