<commit_before># Path to your oh-my-fish.
set fish_path $HOME/.oh-my-fish

# Theme
set fish_theme pastfish

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-fish/plugins/*)
# Custom plugins may be added to ~/.oh-my-fish/custom/plugins/
# Example format: set fish_plugins autojump bundler
set fish_plugins tmux extract jump ssh z brew

# Path to your custom folder (default path is $FISH/custom)
set fish_custom $HOME/.config/fish/custom

# Test if oh-my-fish is installed
if test -d $fish_path
  echo (set_color white)"}{} }{} "(set_color red)"<(^O^)> "(set_color yellow)"Enabling OH_MY_FISH "(set_color red)"<(^O^)> "(set_color white)"{}{ {}{"
else
  echo (set_color red)"==========================================================="
  echo (set_color yellow)">>>>>  oh-my-fish not installed... trying to grab...  <<<<<"
  echo (set_color red)"==========================================================="
  type git >/dev/null
  and git clone https://github.com/bpinto/oh-my-fish.git ~/.oh-my-fish
  or begin
    echo (set_color -b red -o purple)" <*)))<"(set_color -b red -o black)" git not installed. Skip enabling oh-my-fish "(set_color -b red -o purple)">(((*> "
    exit
  end
end

# ====================================================
# z (autojump tool) is required from
#     https://github.com/rupa/z
#     https://github.com/rupa/z/raw/master/z.sh
if not test -x /usr/local/etc/profile.d/z.sh
    echo Installing z - jump around tool ...
    mkdir -p /usr/local/etc/profile.d; or sudo mkdir -p /usr/local/etc/profile.d;
    wget -O /usr/local/etc/profile.d/z.sh https://github.com/rupa/z/raw/master/z.sh; or sudo wget -O /usr/local/etc/profile.d/z.sh https://github.com/rupa/z/raw/master/z.sh;
    chmod ugo+x /usr/local/etc/profile.d/z.sh; or sudo chmod ugo+x /usr/local/etc/profile.d/z.sh;
end
# ====================================================

#-------------------------------------------------------------
# Tailoring 'less' from bashrc
#-------------------------------------------------------------

alias more='less'

#-------------------------------------------------------------
# Spelling typos from bashrc
#-------------------------------------------------------------

alias xs='cd'
alias vf='cd'
alias moer='more'
alias moew='more'
alias kk='ll'

# ====================================================
# Load oh-my-fish configuration.
# ====================================================
. $fish_path/oh-my-fish.fish

<commit_msg>change z's location to fix dependency problem<commit_after># Path to your oh-my-fish.
set fish_path $HOME/.oh-my-fish

# Theme
set fish_theme pastfish

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-fish/plugins/*)
# Custom plugins may be added to ~/.oh-my-fish/custom/plugins/
# Example format: set fish_plugins autojump bundler
set fish_plugins tmux extract jump ssh z brew

# Path to your custom folder (default path is $FISH/custom)
set fish_custom $HOME/.config/fish/custom

# Test if oh-my-fish is installed
if test -d $fish_path
  echo (set_color white)"}{} }{} "(set_color red)"<(^O^)> "(set_color yellow)"Enabling OH_MY_FISH "(set_color red)"<(^O^)> "(set_color white)"{}{ {}{"
else
  echo (set_color red)"==========================================================="
  echo (set_color yellow)">>>>>  oh-my-fish not installed... trying to grab...  <<<<<"
  echo (set_color red)"==========================================================="
  type git >/dev/null
  and git clone https://github.com/bpinto/oh-my-fish.git ~/.oh-my-fish
  or begin
    echo (set_color -b red -o purple)" <*)))<"(set_color -b red -o black)" git not installed. Skip enabling oh-my-fish "(set_color -b red -o purple)">(((*> "
    exit
  end
end

#-------------------------------------------------------------
# Tailoring 'less' from bashrc
#-------------------------------------------------------------

alias more='less'

#-------------------------------------------------------------
# Spelling typos from bashrc
#-------------------------------------------------------------

alias xs='cd'
alias vf='cd'
alias moer='more'
alias moew='more'
alias kk='ll'

# ====================================================
# Load oh-my-fish configuration.
# ====================================================
. $fish_path/oh-my-fish.fish

# ====================================================
# z (autojump tool) is required from
#     https://github.com/rupa/z
#     https://github.com/rupa/z/raw/master/z.sh
set -g Z_SCRIPT_PATH ~/.bin/z.sh # Overwrite the z path to bin folder at home
if not test \( -x $Z_SCRIPT_PATH \) -a \( -f $Z_SCRIPT_PATH \)
    # if $Z_SCRIPT_PATH (/usr/local/etc/profile.d/z.sh) is not executable
    echo Installing z - jump around tool to $Z_SCRIPT_PATH
    rm -rf $Z_SCRIPT_PATH
    wget -v -O $Z_SCRIPT_PATH https://github.com/rupa/z/raw/master/z.sh
    chmod u+x $Z_SCRIPT_PATH
end
# ====================================================

{'fraction_non_alphanumeric': 0.3519564340459863, 'fraction_numerical': 0.0, 'mean_word_length': 2.640969162995595, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, 'https://': 9, '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': '6062926', 'n_tokens_mistral': 1538, 'n_tokens_neox': 1474, 'n_words': 415}