<commit_before>#!/bin/sh

##
#git
##
if which git &>/dev/null ; then
  rm -f ~/.gitconfig
  ln -sf `pwd`/git/gitconfig ~/.gitconfig
  echo '-> git ok!'
fi

##
#tmux
##
if which tmux &>/dev/null ; then
  rm -f ~/.tmux
  ln -sf `pwd`/tmux/tmux ~/.tmux
  rm -f ~/.tmux.conf
  ln -sf `pwd`/tmux/tmux.conf ~/.tmux.conf
  echo '-> tmux ok!'
fi

##
#vim
##
if which vim &>/dev/null ; then
  rm -rf ~/.vim
  ln -sf `pwd`/vim/vim ~/.vim
  rm -f ~/.vimrc
  ln -sf `pwd`/vim/vimrc ~/.vimrc
  echo '-> vim ok!'
fi

##
#zsh
##
if which zsh &>/dev/null ; then
  if which chsh &>/dev/null ; then
    chsh -s `which zsh | head -1` || exit 1
  fi
  rm -f ~/.zshrc
  ln -sf `pwd`/zsh/zshrc ~/.zshrc
  echo '-> zsh ok!'
fi

##
#anonymous pro font
##
if [ "$(uname -s)" = 'Linux' ] ; then
  if ! [ -d ~/.fonts ] ; then
    mkdir ~/.fonts
  fi
  cp -r ./anonymous_pro/*.ttf ~/.fonts/
  echo '-> anonymous pro font ok!'
fi<commit_msg>Add ssh connect script<commit_after>#!/bin/sh

##
#git
##
if which git &>/dev/null ; then
  rm -f ~/.gitconfig
  ln -sf `pwd`/git/gitconfig ~/.gitconfig
  echo '-> git ok!'
fi

##
#tmux
##
if which tmux &>/dev/null ; then
  rm -f ~/.tmux
  ln -sf `pwd`/tmux/tmux ~/.tmux
  rm -f ~/.tmux.conf
  ln -sf `pwd`/tmux/tmux.conf ~/.tmux.conf
  echo '-> tmux ok!'
fi

##
#vim
##
if which vim &>/dev/null ; then
  rm -rf ~/.vim
  ln -sf `pwd`/vim/vim ~/.vim
  rm -f ~/.vimrc
  ln -sf `pwd`/vim/vimrc ~/.vimrc
  echo '-> vim ok!'
fi

##
#zsh
##
if which zsh &>/dev/null ; then
  if which chsh &>/dev/null ; then
    chsh -s `which zsh | head -1` || exit 1
  fi
  rm -f ~/.zshrc
  ln -sf `pwd`/zsh/zshrc ~/.zshrc
  echo '-> zsh ok!'
fi

##
#anonymous pro font
##
if [ "$(uname -s)" = 'Linux' ] ; then
  if ! [ -d ~/.fonts ] ; then
    mkdir ~/.fonts
  fi
  cp -r ./anonymous_pro/*.ttf ~/.fonts/
  echo '-> anonymous pro font ok!'
fi

##
#ssh scripts
##
for link in `pwd`/ssh/* ; do
  ln -sf "$link" ~/"$(basename "$link")"
done
{'fraction_non_alphanumeric': 0.21732365145228216, 'fraction_numerical': 0.002074688796680498, 'mean_word_length': 2.1571194762684125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '851402', 'n_tokens_mistral': 937, 'n_tokens_neox': 886, 'n_words': 259}