nixrice/install
2024-02-27 15:46:37 -05:00

18 lines
356 B
Bash
Executable file

#!/bin/sh
# Go to script directory
dir="$(dirname "$(readlink -f "$0")")"
cd "$dir"
for package in $(ls $dir); do
if [ ! -d "$dir/$package" ]; then
continue
fi
if [ "$package" = "misc" ]; then
stow --target=$HOME --dotfiles --no-folding -R $package
else
stow --target=$HOME --dotfiles -v -R $package
fi
done