APPS=$(find . -mindepth 1 -maxdepth 1 -type d | xargs -n1 basename) for APP in ${APPS[@]}; do stow "$APP" -t "$HOME" done