<commit_before>c_dir=$(pwd)
configs_dir_path="$c_dir/configs"

# link to user dir.
ln -sf  ${configs_dir_path}/zshenv $HOME/.zshenv
ln -sfn ${configs_dir_path}/zsh $HOME/.zsh
ln -sf  ${configs_dir_path}/tigrc $HOME/.tigrc
ln -sfn ${configs_dir_path}/bash_ext $HOME/.bash_ext
ln -sfn ${configs_dir_path}/vim $HOME/.vim
ln -sf  ${configs_dir_path}/vimrc $HOME/.vimrc
ln -sf  ${configs_dir_path}/tmux.conf $HOME/.tmux.conf
ln -sf  ${configs_dir_path}/brewfile $HOME/.brewfile
ln -sf  ${configs_dir_path}/gitignore $HOME/.gitignore
ln -sf  ${configs_dir_path}/gitconfig.mine $HOME/.gitconfig.mine

# init gitconfigs
if [ ! -e "$HOME/.gitconfig" ]; then
	touch $HOME/.gitconfig
	cat <<EOF >> "$HOME/.gitconfig"
[include]
  path = $HOME/.gitconfig.mine
EOF
fi


# link to user_bin.
ln -sfn ${c_dir}/tool/bin $HOME/bin

# install homebrew
if [ $L_OSTYPE="Darwin" ]; then 
 type brew >/dev/null 2>&1 || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# import git-prompt
if [ ! -e "$HOME/.git-prompt.sh" ]; then
	curl --insecure "https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh" > ~/.git-prompt.sh
fi
<commit_msg>Not work comparison other than macos.<commit_after>c_dir=$(pwd)
configs_dir_path="$c_dir/configs"

# link to user dir.
ln -sf  ${configs_dir_path}/zshenv $HOME/.zshenv
ln -sfn ${configs_dir_path}/zsh $HOME/.zsh
ln -sf  ${configs_dir_path}/tigrc $HOME/.tigrc
ln -sfn ${configs_dir_path}/bash_ext $HOME/.bash_ext
ln -sfn ${configs_dir_path}/vim $HOME/.vim
ln -sf  ${configs_dir_path}/vimrc $HOME/.vimrc
ln -sf  ${configs_dir_path}/tmux.conf $HOME/.tmux.conf
ln -sf  ${configs_dir_path}/brewfile $HOME/.brewfile
ln -sf  ${configs_dir_path}/gitignore $HOME/.gitignore
ln -sf  ${configs_dir_path}/gitconfig.mine $HOME/.gitconfig.mine

# init gitconfigs
if [ ! -e "$HOME/.gitconfig" ]; then
	touch $HOME/.gitconfig
	cat <<EOF >> "$HOME/.gitconfig"
[include]
  path = $HOME/.gitconfig.mine
EOF
fi


# link to user_bin.
ln -sfn ${c_dir}/tool/bin $HOME/bin

# install homebrew
if [ $L_OSTYPE = "Darwin" ]; then 
 type brew >/dev/null 2>&1 || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# import git-prompt
if [ ! -e "$HOME/.git-prompt.sh" ]; then
	curl --insecure "https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh" > ~/.git-prompt.sh
fi

{'fraction_non_alphanumeric': 0.17237061769616027, 'fraction_numerical': 0.001669449081803005, 'mean_word_length': 4.132762312633833, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 4, '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': '1613982', 'n_tokens_mistral': 976, 'n_tokens_neox': 937, 'n_words': 196}