<commit_before>#-------------------------------------------------------------------------------
#
# install/alias.zsh
# Admin installation management aliases
#
#-------------------------------------------------------------------------------

#
# Determines whether the current $USER is in the admin group.
# Examples:
#   if user_is_admin; then
#   if [ !user_is_admin ]; then
function user_is_admin {
  [[ $(dsmemberutil checkmembership -U "${USER}" -G "admin") == "user is a member of the group" ]]
}

if [ !user_is_admin ]; then
  echo "user is not an admin"
else
  echo "user is an admin"
fi
<commit_msg>Remove user_is_admin debug output<commit_after>#-------------------------------------------------------------------------------
#
# install/alias.zsh
# Admin installation management aliases
#
#-------------------------------------------------------------------------------

#
# Determines whether the current $USER is in the admin group.
# Examples:
#   if user_is_admin; then
#   if [ !user_is_admin ]; then
function user_is_admin {
  [[ $(dsmemberutil checkmembership -U "${USER}" -G "admin") == "user is a member of the group" ]]
}

{'fraction_non_alphanumeric': 0.36395450568678916, 'fraction_numerical': 0.0, 'mean_word_length': 1.39832285115304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3366220', 'n_tokens_mistral': 289, 'n_tokens_neox': 284, 'n_words': 95}