Bash env variables
root@utam-f9:/home/.env # cat env
#!/bin/bash
export PATH=”$PATH:/usr/local/bin:/usr/local/sbin:/data/bin:/usr/libexec/nx”
export HISTSIZE=10000
export HISTCONTROL=”ignoredups”
export HISTIGNORE=”&:ls:[bf]g:exit”
export PROMPT_COMMAND=’history -a’
export CDPATH=’.:..:../..:~:/data/.links:/data:/www/first:/www’
export PAGER=`which less` # for man pagese
export BROWSER=`which firefox` # for xdg-open
export EDITOR=`which vim` # for visudo, crontab -e, etc
export CVS_RSH=`which ssh` # for cvs!
export GREP_OPTIONS=’—color=auto’
shopt -s histappend
shopt -s no_empty_cmd_completion
shopt -s cdspell # fix dir-name typos in cd
shopt -s checkwinsize # handle xterm resizing
shopt -s cmdhist # save multi-line commands as one line
shopt -s dotglob # allow tab-completion of ‘.’ filenames
shopt -s extglob # bonus regex globbing!
shopt -s hostcomplete # tab-complete words containing @ as hostnames
shopt -s execfail # failed execs don’t exit shell
set -o notify # show status of terminated programs immediately
stty -ixon # disable Ctrl-S and Ctrl-Q, which suck!
# Override lame default apps with useful 3rd-party ones if they exist
#[ “” != “`which colordiff`” ] && alias diff=`which colordiff`