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

# slackware
#HOST=${HOSTNAME%%\.*}
#(( `id -u` == 0 )) && PS1='$HOST# ' || PS1='$HOST> '

case "$-" in *i*)
    alias ls='ls --group-directories-first -F --color=auto'
    alias ll='ls --group-directories-first -alhF --color=auto'
    alias cp='cp -i'
    alias mv='mv -i'
    alias rm='rm -i'
    alias less='/usr/bin/less -r'
    alias diff='/usr/bin/colordiff'

    alias psu='ps --pid 2 --ppid 2 --deselect ufww'
    alias neta='netstat -antup'
    alias netl='netstat -lntup'

    # null-mailer
    alias runq='sendmail -q'

    # mail server
    #alias runq='postfix flush'

    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 PAGER="/usr/bin/less -r"

    export MAIL=/var/mail/$USER
    export MAILCHECK=1
    /usr/bin/biff y
    w
    ;;
esac

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