<commit_before>alias hideme='history -d $((HISTCMD-1))'
alias hideprev='history -d $((HISTCMD-2)) && history -d $((HISTCMD-1))'

function hidegrep()
{
  if [ ! -z "$1" ]; then
    while true; do
      hist=$(history | grep -e "$1" | head -n 1)
      if [ -z "$hist" ]; then break; fi
      echo $hist
      history -d $(echo $hist | awk '{ print $1 }' | sed 's/[^0-9]//g')
    done
  fi
}

# Launch screen with a name name and a fresh bash login.
function scn ()
{
    screen -t $1 zsh -l
}<commit_msg>Update my history cleaning function for zsh.<commit_after>function airbrush () {
  local histsize=$HISTSIZE
  if [ ! -z "$1" ]; then
    fc -AI
    history | grep -e "$1"
    HISTSIZE=0
    sed -i -e '/'"$1"'/d' "$HISTFILE"
    HISTSIZE=$histsize
    fc -RI
  fi
}

# Launch screen with a name name and a fresh bash login.
function scn () {
    screen -t $1 zsh -l
}
{'fraction_non_alphanumeric': 0.16820276497695852, 'fraction_numerical': 0.01728110599078341, 'mean_word_length': 2.5182186234817814, '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': '6859668', 'n_tokens_mistral': 338, 'n_tokens_neox': 327, 'n_words': 112}