<commit_before>#!/usr/bin/env bash
#
# User defined aliases 

OS=$(uname -s)

if [ $OS == "FreeBSD" ]; then 

  alias eg='egrep -i'
  alias h='fc -l'
  alias iotop='top -mio -ototal'
  alias j=jobs
  alias l='ls -lG'
  alias links='elinks'
  alias ll='ls -lAFGo'
  alias lld='ls -lAFodG'
  alias ls='/bin/ls -FG'
  alias lsof='fstat'
  alias lynx='elinks'
  alias m=more
  alias pgr='vi -R'
  alias pkg_check='pkg_libchk'
  alias pkg_locate="echo /usr/ports/*/*|tr ' ' '\n'"
  alias portaudit='/usr/sbin/pkg audit -F'
  alias su='su -l'
  alias stats="man -k '*' | grep -Ee 'stat\((1|8)\) '"

else

  #alias ls='/bin/ls --color=always'
  alias vibb='vim.tiny -u ~/.vim/vim-bare-bones.vim'
  alias bbvi='vim.tiny -u ~/.vim/vim-bare-bones.vim'
  alias lsn='ls -pF --color=none'
  alias ls='ls --color=always --ignore="NTUSER.*" --ignore="ntuser.*" -F --group-directories-first'
  alias la='ls -lAhFt --time-style=+"%Y-%b-%d %H:%S"'
  alias lc='ls -FCp -w 120|less -FRMS'
  alias ll='ls -lhFt --time-style=+"%Y-%b-%d %H:%S"'
  alias lld='ls -lhdFt --time-style=+"%Y-%b-%d %H:%S"'
  alias stats="man -k ' ' | grep -Ee 'stat \((1|8)\) '"

fi

alias ..='cd ..'
alias ...='cd ../..'
alias ack='ack-grep'
alias alldoc="cat $HOME/repos/dotfiles/doc/*-tips"
alias cd..='cd ..'
alias cls='clear'
alias cpi='cp -i'
alias cpu='cp -u'
alias dfh="df -h|egrep '^(Filesystem|/)'| sort -hk5"
alias e='emacs'
alias em='emacs'
alias emcas='emacs'
alias ft='tree -I .git -I "*.png" --charset UTF-8 --dirsfirst -F'
alias gnupg='gpg'
alias grep='grep --color=always -i'
alias gv='gvim --remote-tab-silent'
#alias lsc='ls | cut -c1-50 | column -c "${COLUMNS:-80}"'
alias lsd='ls -d *'
alias make='make -j `grep -wc "^processor" /proc/cpuinfo`'
alias mvi='mv -i'<commit_msg>setup gvim in server mode, let server do file/tab later<commit_after>#!/usr/bin/env bash
#
# User defined aliases 

OS=$(uname -s)

if [ $OS == "FreeBSD" ]; then 

  alias eg='egrep -i'
  alias h='fc -l'
  alias iotop='top -mio -ototal'
  alias j=jobs
  alias l='ls -lG'
  alias links='elinks'
  alias ll='ls -lAFGo'
  alias lld='ls -lAFodG'
  alias ls='/bin/ls -FG'
  alias lsof='fstat'
  alias lynx='elinks'
  alias m=more
  alias pgr='vi -R'
  alias pkg_check='pkg_libchk'
  alias pkg_locate="echo /usr/ports/*/*|tr ' ' '\n'"
  alias portaudit='/usr/sbin/pkg audit -F'
  alias su='su -l'
  alias stats="man -k '*' | grep -Ee 'stat\((1|8)\) '"

else

  #alias ls='/bin/ls --color=always'
  alias vibb='vim.tiny -u ~/.vim/vim-bare-bones.vim'
  alias bbvi='vim.tiny -u ~/.vim/vim-bare-bones.vim'
  alias lsn='ls -pF --color=none'
  alias ls='ls --color=always --ignore="NTUSER.*" --ignore="ntuser.*" -F --group-directories-first'
  alias la='ls -lAhFt --time-style=+"%Y-%b-%d %H:%S"'
  alias lc='ls -FCp -w 120|less -FRMS'
  alias ll='ls -lhFt --time-style=+"%Y-%b-%d %H:%S"'
  alias lld='ls -lhdFt --time-style=+"%Y-%b-%d %H:%S"'
  alias stats="man -k ' ' | grep -Ee 'stat \((1|8)\) '"

fi

alias ..='cd ..'
alias ...='cd ../..'
alias ack='ack-grep'
alias alldoc="cat $HOME/repos/dotfiles/doc/*-tips"
alias cd..='cd ..'
alias cls='clear'
alias cpi='cp -i'
alias cpu='cp -u'
alias dfh="df -h|egrep '^(Filesystem|/)'| sort -hk5"
alias e='emacs'
alias em='emacs'
alias emcas='emacs'
alias ft='tree -I .git -I "*.png" --charset UTF-8 --dirsfirst -F'
alias gnupg='gpg'
alias grep='grep --color=always -i'
alias gvim-server='gvim --servername GVIM'
alias gvim-send-to-remote-server='gvim --remote-tab-silent'
#alias lsc='ls | cut -c1-50 | column -c "${COLUMNS:-80}"'
alias lsd='ls -d *'
alias make='make -j `grep -wc "^processor" /proc/cpuinfo`'
alias mvi='mv -i'
{'fraction_non_alphanumeric': 0.22789021347380095, 'fraction_numerical': 0.007762683670640421, 'mean_word_length': 3.2347417840375585, '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': '779907', 'n_tokens_mistral': 1666, 'n_tokens_neox': 1564, 'n_words': 386}