<commit_before># function

man() {
    LESS_TERMCAP_mb=$'\E[01;31m' \
    LESS_TERMCAP_md=$'\E[01;38;5;74m' \
    LESS_TERMCAP_me=$'\E[0m' \
    LESS_TERMCAP_se=$'\E[0m' \
    LESS_TERMCAP_so=$'\E[38;5;246m' \
    LESS_TERMCAP_ue=$'\E[0m' \
    LESS_TERMCAP_us=$'\E[04;38;5;146m' \
    command man "$@"
}

certinfo() {
    if [ "$#" -ne 1 ]; then
            echo "usage: certinfo [DOMAIN]"
            return
    fi
    echo | openssl s_client -showcerts -servername $1 -connect $1:443 2>/dev/null | openssl x509 -noout -text
}

# alias

if type "rlwrap" &> /dev/null; then
    alias sbcl='rlwrap sbcl'
    alias maxima='rlwrap maxima'
fi
if ls --help 2>&1 | egrep -q 'coreutils|BusyBox'; then
    alias ls='ls --color=auto'
else
    alias ls='ls -G'
fi
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
if grep --help 2>&1 | grep -q 'GNU grep'; then
    alias grep='grep --color=auto'
fi
if diff --help 2>&1 | grep -q 'diffutils'; then
    alias diff='diff --color=auto'
fi
alias tmux='tmux -2'

# environment variable
export EDITOR=vim
export SYSTEMD_EDITOR=$EDITOR
export PIPENV_VENV_IN_PROJECT=1
export GOPATH="$HOME/local/go"
export PATH="$PATH:$GOPATH/bin:$HOME/.local/bin"

if type "virtualenvwrapper_lazy.sh" &> /dev/null; then
    export VIRTUALENVWRAPPER_PYTHON="$(which python3)"
    source $(which "virtualenvwrapper_lazy.sh")
fi

# load environment specific file
[[ -f ~/.shell/platform.sh ]] && . ~/.shell/platform.sh
[[ -f ~/.shell/private.sh ]] && . ~/.shell/private.sh
<commit_msg>shell: Remove GOPATH from shared config<commit_after># function

man() {
    LESS_TERMCAP_mb=$'\E[01;31m' \
    LESS_TERMCAP_md=$'\E[01;38;5;74m' \
    LESS_TERMCAP_me=$'\E[0m' \
    LESS_TERMCAP_se=$'\E[0m' \
    LESS_TERMCAP_so=$'\E[38;5;246m' \
    LESS_TERMCAP_ue=$'\E[0m' \
    LESS_TERMCAP_us=$'\E[04;38;5;146m' \
    command man "$@"
}

certinfo() {
    if [ "$#" -ne 1 ]; then
            echo "usage: certinfo [DOMAIN]"
            return
    fi
    echo | openssl s_client -showcerts -servername $1 -connect $1:443 2>/dev/null | openssl x509 -noout -text
}

# alias

if type "rlwrap" &> /dev/null; then
    alias sbcl='rlwrap sbcl'
    alias maxima='rlwrap maxima'
fi
if ls --help 2>&1 | egrep -q 'coreutils|BusyBox'; then
    alias ls='ls --color=auto'
else
    alias ls='ls -G'
fi
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
if grep --help 2>&1 | grep -q 'GNU grep'; then
    alias grep='grep --color=auto'
fi
if diff --help 2>&1 | grep -q 'diffutils'; then
    alias diff='diff --color=auto'
fi
alias tmux='tmux -2'

# environment variable
export EDITOR=vim
export SYSTEMD_EDITOR=$EDITOR
export PIPENV_VENV_IN_PROJECT=1
export PATH="$PATH:$HOME/.local/bin"

if type "virtualenvwrapper_lazy.sh" &> /dev/null; then
    export VIRTUALENVWRAPPER_PYTHON="$(which python3)"
    source $(which "virtualenvwrapper_lazy.sh")
fi

# load environment specific file
[[ -f ~/.shell/platform.sh ]] && . ~/.shell/platform.sh
[[ -f ~/.shell/private.sh ]] && . ~/.shell/private.sh

{'fraction_non_alphanumeric': 0.17163928930606773, 'fraction_numerical': 0.03151190077103587, 'mean_word_length': 3.2567760342368044, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '1149834', 'n_tokens_mistral': 1282, 'n_tokens_neox': 1194, 'n_words': 275}