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

# PATH

if test -d /usr/local/sbin
  set PATH /usr/local/sbin $PATH
end

if test -x /usr/local/bin/cargo
  set PATH ~/.cargo/bin $PATH
end

if test -x /usr/local/bin/yarn
  set PATH ~/.yarn/bin ~/.config/yarn/global/node_modules/.bin $PATH
end

# Neovim settings

if test -z "$NVIM_LISTEN_ADDRESS"
  set -x EDITOR ed
  set -x VISUAL nvim --noplugin
end

if test -n "$NVIM_LISTEN_ADDRESS"
  # set -x MANPAGER "/usr/local/bin/nvr -c 'set ft=man' -o -"
  if test -x /usr/local/bin/page
    set -x PAGER /usr/local/bin/page
  end
end

# Git

set -x REVIEW_BASE main

# Fisher plugins

if not functions -q fisher
  set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
  curl https://git.io/fisher --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish
  fish -c fisher
end
set -g fish_user_paths "/usr/local/opt/curl/bin" $fish_user_paths<commit_msg>Disable page nvim pager<commit_after>#!/usr/bin/env fish

# PATH

if test -d /usr/local/sbin
  set PATH /usr/local/sbin $PATH
end

if test -x /usr/local/bin/cargo
  set PATH ~/.cargo/bin $PATH
end

if test -x /usr/local/bin/yarn
  set PATH ~/.yarn/bin ~/.config/yarn/global/node_modules/.bin $PATH
end

# Neovim settings

if test -z "$NVIM_LISTEN_ADDRESS"
  set -x EDITOR ed
  set -x VISUAL nvim --noplugin
end

# if test -n "$NVIM_LISTEN_ADDRESS"
  # set -x MANPAGER "/usr/local/bin/nvr -c 'set ft=man' -o -"
  # if test -x /usr/local/bin/page
    # set -x PAGER /usr/local/bin/page
  # end
# end

# Git

set -x REVIEW_BASE main

# Fisher plugins

if not functions -q fisher
  set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
  curl https://git.io/fisher --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish
  fish -c fisher
end
set -g fish_user_paths "/usr/local/opt/curl/bin" $fish_user_paths
{'fraction_non_alphanumeric': 0.1301218161683278, 'fraction_numerical': 0.0, 'mean_word_length': 2.9368191721132897, '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': '4797133', 'n_tokens_mistral': 763, 'n_tokens_neox': 742, 'n_words': 206}