<commit_before>- clean: ['~']

- shell:
    - [git submodule update --init --remote, Installing/updating submodules]
    - [mv -n ~/.bashrc ~/.bashrc.old]
    - [mv -n ~/.bash_profile ~/.bash_profile.old]
    - [rm -f ~/.bashrc]
    - [rm -f ~/.bash_profile]
    - [mkdir -p ~/.tmux/plugins]

- link:
    ~/.bash_it: bash_it/
    ~/.bash_it_custom: bash_it_custom/
    ~/.vim: vim/

- link:
    ~/.bashrc: bashrc
    ~/.bash_profile: bashrc_profile
    ~/.tmux.conf: tmux.conf
    ~/.tmux/plugins/tpm: tpm
    ~/.tmux/airline.tmux: tmux/airline.tmux
    ~/.vimrc: vimrc
    ~/.vim/autoload/plug.vim: vim/autoload/vim-plug/plug.vim

- shell:
    # Setting up other configurations (bash-it, vim, etc.)
    -
      command: ./setup
      stdin: true
      stdout: true
      stderr: true<commit_msg>Fix bash_profile setup and linking<commit_after>- clean: ['~']

- shell:
    - [git submodule update --init --remote, Installing/updating submodules]
    - command: if [ -f ~/.bashrc ]; then mv -n ~/.bashrc ~/.bashrc.old; fi
    - command: if [ -f ~/.bash_profile ]; then mv -n ~/.bash_profile ~/.bash_profile.old; fi

# Link directories
- link:
    ~/.bash_it: bash_it/
    ~/.bash_it_custom: bash_it_custom/
    ~/.vim: vim/

# Link files
- link:
    ~/.bashrc: bashrc
    ~/.bash_profile: bash_profile
    ~/.tmux.conf: tmux.conf
    ~/.tmux/plugins/tpm:
        create: true
        path: tpm
    ~/.tmux/airline.tmux: tmux/airline.tmux
    ~/.vimrc: vimrc
    ~/.vim/autoload/plug.vim:
        create: true
        path: vim/autoload/vim-plug/plug.vim

- shell:
    # Setting up other configurations (bash-it, vim, etc.)
    - command: ./setup
      stdin: true
      stdout: true
      stderr: true
{'fraction_non_alphanumeric': 0.16823529411764707, 'fraction_numerical': 0.0, 'mean_word_length': 2.1153846153846154, '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': '2709999', 'n_tokens_mistral': 704, 'n_tokens_neox': 651, 'n_words': 146}