<commit_before>function check-updates -d 'Checks updates for Arch ABS and AUR'
  set -l base_cmd "sort -u | sed 's/^/  /'"
  set -l checkupdates_found false
  set -l checkupdates_aur_found false

  if exists checkupdates
    set checkupdates_found true
  end

  if exists checkupdates-aur
    set checkupdates_aur_found true
  end

  if not eval "$checkupdates_found; and $checkupdates_aur_found"
    echo 'checkupdates nor checkupdate-aur were found.'
    return -1
  else
    if eval $checkupdates_found
      echo 'ABS:'
      eval "checkupdates | $base_cmd"
    end
    if eval $checkupdates_aur_found
      echo 'AUR:'
      eval "checkupdates-aur | $base_cmd"
    end
  end
end<commit_msg>:wrench: Updated check-updates fish function<commit_after>function check-updates -d 'Checks updates for Arch ABS and AUR'
  set -l base_cmd "sort -u | sed 's/^/  /'"
  set -l checkupdates_found false
  set -l checkupdates_aur_found false

  if exists checkupdates
    set checkupdates_found true
  end

  if exists checkupdates-aur
    set checkupdates_aur_found true
  end

  if not eval "$checkupdates_found; and $checkupdates_aur_found"
    if not eval "$checkupdates_found"
      echo "checkupdates not found"
    end

    if not eval "$checkupdates_aur_found"
      echo "checkupdates-aur not found"
    end

    return -1
  else
    if eval $checkupdates_found
      echo 'ABS:'
      eval "checkupdates | $base_cmd"
    end
    if eval $checkupdates_aur_found
      echo 'AUR:'
      eval "checkupdates-aur | $base_cmd"
    end
  end
end
{'fraction_non_alphanumeric': 0.06887589343729694, 'fraction_numerical': 0.001299545159194282, 'mean_word_length': 3.0, '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': '2544242', 'n_tokens_mistral': 527, 'n_tokens_neox': 514, 'n_words': 163}