<commit_before># Extracting user's functions – will be added later.
set user_function_path $fish_function_path[1]
set -e fish_function_path[1]

# Add all functions to fish_function_path.
set fish_function_path $FISH/functions/ $fish_function_path

# Add all defined plugins to fish_function_path.
for plugin in $FISH_PLUGINS
  set fish_function_path $FISH/plugins/$plugin $fish_function_path
end

# Add user defined theme to fish_function_path.
set fish_function_path /Users/bpinto/.oh-my-fish/themes/$FISH_THEME $fish_function_path

# Re-adding user's functions so they have the highest priority
set fish_function_path $user_function_path $fish_function_path<commit_msg>loading custom plugins and sourcing all files that are not plugins<commit_after># Set FISH_CUSTOM to the path where your custom config files
# and plugins exists, or else we will use the default custom.
if not set -q FISH_CUSTOM
  set -g FISH_CUSTOM  $FISH/custom
end

# Extracting user's functions – will be added later.
set user_function_path $fish_function_path[1]
set -e fish_function_path[1]

# Add all functions to fish_function_path.
set fish_function_path $FISH/functions/ $fish_function_path

# Add all defined plugins to fish_function_path.
for plugin in $FISH_PLUGINS
  set fish_function_path $FISH/plugins/$plugin $fish_function_path
end

# Add user defined theme to fish_function_path.
set fish_function_path /Users/bpinto/.oh-my-fish/themes/$FISH_THEME $fish_function_path

# Add all custom plugins to fish_function_path
for plugin in $FISH_CUSTOM/plugins/*
  set fish_function_path $plugin $fish_function_path
end

# Source all files inside custom folder
for config_file in $FISH_CUSTOM/*.fish
  . $config_file
end

# Re-adding user's functions so they have the highest priority
set fish_function_path $user_function_path $fish_function_path
{'fraction_non_alphanumeric': 0.060207991242474, 'fraction_numerical': 0.0021893814997263274, 'mean_word_length': 5.745387453874539, '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': '2706115', 'n_tokens_mistral': 579, 'n_tokens_neox': 567, 'n_words': 191}