dotfiles/stowall.sh

11 lines
166 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