<commit_before>#!/usr/bin/env sh

uninstall_zsh_root() {
  echo "Removing bash completion script"
  sudo 'rm /usr/share/zsh/site-functions/_clever'
}

uninstall_bash_root() {
  echo "Removing zsh completion script"
  sudo 'rm /usr/share/bash-completion/completions/clever'
}

uninstall() {
  if which zsh &>/dev/null; then
    uninstall_zsh_root
  fi
  if which bash &>/dev/null; then
    uninstall_bash_root
  fi
}

uninstall<commit_msg>uninstall-autocomplete: be POSIX compliant if we run sh<commit_after>#!/usr/bin/env sh

uninstall_zsh_root() {
  echo "Removing bash completion script"
  sudo 'rm /usr/share/zsh/site-functions/_clever'
}

uninstall_bash_root() {
  echo "Removing zsh completion script"
  sudo 'rm /usr/share/bash-completion/completions/clever'
}

uninstall() {
  if which zsh >/dev/null 2>&1; then
    uninstall_zsh_root
  fi
  if which bash >/dev/null 2>&1; then
    uninstall_bash_root
  fi
}

uninstall
{'fraction_non_alphanumeric': 0.11231101511879049, 'fraction_numerical': 0.004319654427645789, 'mean_word_length': 3.9572192513368982, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '344263', 'n_tokens_mistral': 369, 'n_tokens_neox': 343, 'n_words': 80}