mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
10 lines
432 B
Bash
10 lines
432 B
Bash
# Need gum to query for input
|
|
yay -S --noconfirm --needed gum
|
|
|
|
# Configure identification
|
|
if [[ -z "${OMARCHY_USER_NAME//[[:space:]]/}${OMARCHY_USER_EMAIL//[[:space:]]/}" ]]; then
|
|
echo -e "\nEnter identification for git and autocomplete..."
|
|
export OMARCHY_USER_NAME=$(gum input --placeholder "Enter full name" --prompt "Name> ")
|
|
export OMARCHY_USER_EMAIL=$(gum input --placeholder "Enter email address" --prompt "Email> ")
|
|
fi
|