<commit_before>#!/usr/bin/env bash
#
# Install fish stuff

src="$HOME/.dotfiles/fish"
dest="$HOME/.config/fish"
files=(config.fish fishfile)
functions=(cho.fish dsync.fish findp.fish notify.fish nv.fish run.fish up.fish)

echo "Installing Fish dotfiles"

# install fishmarks
curl -L https://github.com/techwizrd/fishmarks/raw/master/install.fish | fish

# install fisherman
curl -sLo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher
fisher

echo "└── Linking to $dest:"
mkdir -p $dest
for file in ${files[@]}; do
  echo "│   └── $file"

  rm $dest/$file
  ln -s $src/$file $dest/$file
done
echo "│"

echo "└── Linking to $dest/functions:"
mkdir -p $dest/functions
for file in ${functions[@]}; do
  echo "    └── $file"

  rm $dest/functions/$file
  ln -s $src/functions/$file $dest/functions/$file
done

printf "\n"
<commit_msg>:fish: fish: fix missing prompt functions in install script<commit_after>#!/usr/bin/env bash
#
# Install fish stuff

src="$HOME/.dotfiles/fish"
dest="$HOME/.config/fish"
files=(config.fish fishfile)
functions=(cho.fish dsync.fish findp.fish fish_prompt.fish fish_right_prompt.fish notify.fish nv.fish run.fish up.fish)

echo "Installing Fish dotfiles"

# install fishmarks
curl -L https://github.com/techwizrd/fishmarks/raw/master/install.fish | fish

# install fisherman
curl -sLo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher
fisher

echo "└── Linking to $dest:"
mkdir -p $dest
for file in ${files[@]}; do
  echo "│   └── $file"

  rm $dest/$file
  ln -s $src/$file $dest/$file
done
echo "│"

echo "└── Linking to $dest/functions:"
mkdir -p $dest/functions
for file in ${functions[@]}; do
  echo "    └── $file"

  rm $dest/functions/$file
  ln -s $src/functions/$file $dest/functions/$file
done

printf "\n"

{'fraction_non_alphanumeric': 0.16403607666290868, 'fraction_numerical': 0.0, 'mean_word_length': 3.9719887955182074, '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': '5955028', 'n_tokens_mistral': 649, 'n_tokens_neox': 638, 'n_words': 180}