# Output timing info for slow commands
export REPORTTIME=5

# If we're 64bit, let everything know!
[[ "x86_64" == "$(/usr/bin/uname -m)" ]] && export ARCHFLAGS="-arch x86_64 ${ARCHFLAGS}"

## pager
export PAGER=less READNULLCMD=less

# Make ls and grep coloured
export CLICOLOR=true
export GREP_OPTIONS='--color=auto -E' GREP_COLOR='1;32'
export LSCOLORS="Gxfxcxdxbxegedabagacad"

# Textmate required
export LC_CTYPE=en_US.UTF-8 LANG=en_GB.UTF-8

# Editors
export EDITOR="mate -wl1"
export SVN_EDITOR="$EDITOR" HGEDITOR="$EDITOR" GIT_EDITOR="$EDITOR"
export MARKDOWN_EDITOR="macdown"

# Fuck you make, et al. Leave some CPU for the rest of us.
parallel_cpus=$(( $(/usr/sbin/sysctl -n machdep.cpu.thread_count) - 1 ))
export MAKEFLAGS="-j${parallel_cpus}" BUNDLER_JOBS="${parallel_cpus}" PARALLEL_TEST_PROCESSORS="${parallel_cpus}"

# Coz I wanna be different, yeah?
export SUDO_PROMPT="Sudo Password: "

# Strictness of the HTML pleases
export STRICT_HTML=true

# GPG refuses to be invoked by git without this
export GPG_TTY=$(tty)

# Fucking ruby 2.7
export RUBYOPT="-W:no-deprecated -W:no-experimental"

# Fucking spring
export DISABLE_SPRING=true
