Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .dotfiles/bin/dotfiles-first-run

This file was deleted.

15 changes: 14 additions & 1 deletion .dotfiles/shell/rc
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,20 @@ __source_if_exists ~/.local/shell-aliases
# Display basic settings on first invocation {{{

if [ ! -f "${DOTFILES_DATA}/welcome_message" ]; then
"${HOME}"/.dotfiles/bin/dotfiles-first-run
echo "===="
echo "This appears to be a new dotfiles instance!"
echo
printf "git author settings: %s <%s>\n" \
"$(tput bold)$(git config --get user.name)$(tput sgr0)" \
"$(tput bold)$(git config --get user.email)$(tput sgr0)"
if [ -n "${prompt_hide_user}" ]; then
printf "bashrc prompt_hide_user=%s\n" \
"$(tput bold)${prompt_hide_user}$(tput sgr0)"
fi
echo
echo "Configure with $(tput bold)dotfiles-config$(tput sgr0)"
echo "===="
touch "${DOTFILES_DATA}/welcome_message"
fi

# }}}
Expand Down