<commit_before>#!/usr/bin/env bash

# Install shell
if ! fgrep -q '/usr/local/bin/fish' /etc/shells; then
  echo '/usr/local/bin/fish' | sudo tee -a /etc/shells;
  chsh -s /usr/local/bin/fish;
fi;

# Make sure conf dir exists
functions_dir=$HOME/.config/fish/functions
mkdir -p $functions_dir

# Link fish config
ln -s $HOME/projects/dotfiles/fish/config.fish ~/.config/fish/config.fish

# Link function files
for fname in $HOME/projects/dotfiles/fish/functions/*
do
  ln -s $fname $functions_dir
done

# Install fisher package manager
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish

# Install some useful packages
fisher add rafaelrinaldi/pure
fisher add franciscolourenco/done
fisher add jethrokuan/z<commit_msg>Wait to switch to fish shell until after fisher is installed<commit_after>#!/usr/bin/env bash

# Make sure conf dir exists
functions_dir=$HOME/.config/fish/functions
mkdir -p $functions_dir

# Link fish config
ln -s $HOME/projects/dotfiles/fish/config.fish ~/.config/fish/config.fish

# Link function files
for fname in $HOME/projects/dotfiles/fish/functions/*
do
  ln -s $fname $functions_dir
done

# Install fisher package manager
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish

# Install shell
if ! fgrep -q '/usr/local/bin/fish' /etc/shells; then
  echo '/usr/local/bin/fish' | sudo tee -a /etc/shells;
  chsh -s /usr/local/bin/fish;
fi;

# Install some useful packages
fisher add rafaelrinaldi/pure
fisher add franciscolourenco/done
fisher add jethrokuan/z


{'fraction_non_alphanumeric': 0.12007746933505488, 'fraction_numerical': 0.0, 'mean_word_length': 3.9206349206349205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7610356', 'n_tokens_mistral': 557, 'n_tokens_neox': 539, 'n_words': 151}