dotfiles/stowall.sh
2021-03-12 16:34:13 +01:00

10 lines
165 B
Bash
Executable File

#!/usr/bin/env bash
shopt -s extglob
for x in {any,"${OSTYPE%%+([[:digit:].])}"}/*
do
if [[ -d $x ]]
then
stow -t $HOME -d $(dirname $x) $(basename $x)
fi
done