Files
dots/stow.sh
2022-02-16 00:22:50 +01:00

19 lines
313 B
Bash
Executable File

#!/bin/bash
FILES_DIR=$PWD/files
OPTS=$1
echo "You are about to stow all config files."
echo "Do you want to proceed? [y]"
read proceed
if [ "${proceed}" != "y" ]; then
echo "Exiting!"
exit
fi
echo "Stowing configs..."
cd $FILES_DIR
stow ${OPTS} -v --ignore="init.org" --target="$HOME" *
echo "Done!"