export MAKEFLAGS=-j$((`grep ^processor /proc/cpuinfo | tail -1 | awk '{print $3}'` + 1))

case "$-" in *i*)
    alias ll='ls --color=auto --group-directories-first -alh'
    alias ls='ls --color=auto --group-directories-first'
    alias psu='ps --pid 2 --ppid 2 --deselect ufw'
    alias cp='cp -i'
    alias mv='mv -i'
    alias rm='rm -i'

    alias runq='sendmail -q'
    alias diff='colordiff'

    alias clean="grep -vE '^[[:space:]]*(;|#|$)'"
    alias findexec='find . -executable -type f'
    alias lynx='lynx -accept_all_cookies'
    alias lynxg='lynx -accept_all_cookies https://www.google.com/ncr'
    alias irssi='echo did you forget to start gnu/screen or tmux?'
    alias ovs='ovs-vsctl'

    alias commit='git commit --allow-empty-message -m ""'
    alias commita='git commit -a --allow-empty-message -m ""'
    alias push='git commit --allow-empty-message -m "" && git push'
    alias pusha='git commit -a --allow-empty-message -m "" && git push'
    alias stat='git diff --stat --cached origin/master'
    alias pwgen='pwgen --capitalize --numerals --symbols --ambiguous 1$(( $RANDOM % 10 ))'

    warn="this is the host system - unalias if you are sure"
    alias shutdown="echo $warn"
    alias reboot="echo $warn"
    alias poweroff="echo $warn"
    alias halt="echo $warn"
    unset warn

    export TERM=xterm
    export EDITOR=/usr/bin/vi
    export MAIL=/var/mail/$USER
    export MAILCHECK=1
    /usr/bin/biff y

some unused and unnecessary alternatives

    #export TERM=linux
    #export TERM=xterm-256color

    #alias wget='wget --ca-certificate=/etc/ssl/cacert.pem'
    #alias curl='curl --cacert /etc/ssl/cacert.pem'

    # Debian/Ubuntu fixup
    #export LC_ALL=en_US.UTF-8
    #export LANG=en_US.UTF-8
    #export LANGUAGE=en_US:en