<commit_before>run_proxy_configure()
{
  echo "${$(tput setaf 6)}=> $@" >&1
  $@
}

set_proxy()
{
  proxy=${1:-http://localhost:3128}
  run_proxy_configure npm config set http-proxy $proxy
  run_proxy_configure npm config set https-proxy $proxy
  run_proxy_configure export {all_proxy,http_proxy,https_proxy}=$proxy
}

unset_proxy()
{
  run_proxy_configure npm config delete http-proxy
  run_proxy_configure npm config delete https-proxy
  run_proxy_configure unset {all_proxy,http_proxy,https_proxy}
}<commit_msg>Fix npm proxy var<commit_after>run_proxy_configure()
{
  echo "${$(tput setaf 6)}=> $@" >&1
  $@
}

set_proxy()
{
  proxy=${1:-http://localhost:3128}
  run_proxy_configure npm config set proxy $proxy
  run_proxy_configure npm config set https-proxy $proxy
  run_proxy_configure export {all_proxy,http_proxy,https_proxy}=$proxy
}

unset_proxy()
{
  run_proxy_configure npm config delete proxy
  run_proxy_configure npm config delete https-proxy
  run_proxy_configure unset {all_proxy,http_proxy,https_proxy}
}
{'fraction_non_alphanumeric': 0.1095890410958904, 'fraction_numerical': 0.0136986301369863, 'mean_word_length': 6.104166666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4354801', 'n_tokens_mistral': 363, 'n_tokens_neox': 346, 'n_words': 77}