mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
16 lines
359 B
Bash
Executable File
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." |