<commit_before>unalias zs 2> /dev/null
zs() {
  if [[ -n "$TMUX" ]]; then
    tmux send-keys -R
    tmux clear-history
    tmux rename-window "$(_tmux_window_name zeus)"
  fi
  zeus start
  _trigger_tmux_rename
}

unalias rs 2> /dev/null
rs() {
  if [[ -n "$TMUX" ]]; then
    tmux rename-window "$(_tmux_window_name server)"
  fi
  rails server "$@"
  _trigger_tmux_rename
}

vim() {
  if [[ -n "$TMUX" ]]; then
    tmux rename-window "$(_tmux_window_name vim)"
  fi
  command vim "$@"
  _trigger_tmux_rename
}

_trigger_tmux_rename() {
  RETURN_VALUE=$?<commit_msg>Suffix tmux `man` window names with the man page name<commit_after>unalias zs 2> /dev/null
zs() {
  if [[ -n "$TMUX" ]]; then
    tmux send-keys -R
    tmux clear-history
    tmux rename-window "$(_tmux_window_name zeus)"
  fi
  zeus start
  _trigger_tmux_rename
}

unalias rs 2> /dev/null
rs() {
  if [[ -n "$TMUX" ]]; then
    tmux rename-window "$(_tmux_window_name server)"
  fi
  rails server "$@"
  _trigger_tmux_rename
}

vim() {
  if [[ -n "$TMUX" ]]; then
    tmux rename-window "$(_tmux_window_name vim)"
  fi
  command vim "$@"
  _trigger_tmux_rename
}

man() {
  if [[ -n "$TMUX" ]]; then
    tmux rename-window "man: $1"
  fi
  command man "$@"
  _trigger_tmux_rename
}

_trigger_tmux_rename() {
  RETURN_VALUE=$?
{'fraction_non_alphanumeric': 0.14694508894044858, 'fraction_numerical': 0.0038669760247486465, 'mean_word_length': 3.2706270627062706, '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': '320913', 'n_tokens_mistral': 543, 'n_tokens_neox': 531, 'n_words': 129}