<commit_before>---
- name: Install fish shell
  apt:
    name: fish
    update_cache: yes
  sudo: yes

- name: Download oh-my-fish
  git:
    repo: "git://github.com/bpinto/oh-my-fish.git"
    dest: "/home/{{ username }}/.oh-my-fish"

- name: Set fish as the default shell 1
  shell: chsh -s /usr/local/bin/fish

- name: Set fish as the default shell 2
  shell: /bin/grep ^/usr/local/bin/fish$ /etc/shells -q


- name: fish - make sure personal fish-tplcom.load file exists
  file:
    path: "/home/{{ username }}/dotfiles/oh-my-fish/fish-tplcom.load"
    state: file

- name: fish - create a symlink to my personal fish-tplcom.load file
  file:
    src: "/home/{{ username }}/dotfiles/oh-my-fish/fish-tplcom.load"
    dest: "/home/{{ username }}/.oh-my-fish/custom/fish-tplcom.load"
    state: link

- name: fish - make sure local fish configuration file exists
  file:
    path: "/home/{{ username }}/dotfiles/oh-my-fish/config.fish"
    state: file

- name: fish - create a symlink to my local fish configuration
  file:
    src: "/home/{{ username }}/dotfiles/oh-my-fish/config.fish"
    dest: "/home/{{ username }}/.config/fish/config.fish"
    state: link


<commit_msg>Update oh-my-fish.yml<commit_after>---
- name: Install fish shell
  apt:
    name: fish
    update_cache: yes
  sudo: yes

- name: Download oh-my-fish
  git:
    repo: "git://github.com/bpinto/oh-my-fish.git"
    dest: "/home/{{ username }}/.oh-my-fish"

- name: Set fish as the default shell 1
  shell: "chsh -s /usr/local/bin/fish"

- name: Set fish as the default shell 2
  shell: "/bin/grep ^/usr/local/bin/fish\\$ /etc/shells -q"
  sudo: yes

- name: fish - make sure personal fish-tplcom.load file exists
  file:
    path: "/home/{{ username }}/dotfiles/oh-my-fish/fish-tplcom.load"
    state: file

- name: fish - create a symlink to my personal fish-tplcom.load file
  file:
    src: "/home/{{ username }}/dotfiles/oh-my-fish/fish-tplcom.load"
    dest: "/home/{{ username }}/.oh-my-fish/custom/fish-tplcom.load"
    state: link

- name: fish - make sure local fish configuration file exists
  file:
    path: "/home/{{ username }}/dotfiles/oh-my-fish/config.fish"
    state: file

- name: fish - create a symlink to my local fish configuration
  file:
    src: "/home/{{ username }}/dotfiles/oh-my-fish/config.fish"
    dest: "/home/{{ username }}/.config/fish/config.fish"
    state: link



{'fraction_non_alphanumeric': 0.15649978965082037, 'fraction_numerical': 0.0016827934371055953, 'mean_word_length': 2.70404984423676, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '908266', 'n_tokens_mistral': 856, 'n_tokens_neox': 851, 'n_words': 243}