Updating the versions to include the 'refresh' feature.
Added a little blurb on how to reproduce this at home.
Deprecating  in favor of complete -F _kill kill
complete -F _renice renice
complete -F _postconf postconf
complete -F _ldapwhoami ldapwhoami
complete -F _ldapaddmodify ldapadd
complete -F _launchctl launchctl
complete -F _java java
complete -F _filedir_xspec oodraw
complete -F _filedir_xspec elinks
complete -F _filedir_xspec freeamp
complete -o default -F _longopt split
complete -o default -F _longopt sed
complete -o default -F _longopt ld
complete -o default -F _longopt grep
complete -j -P '"%' -S '"' jobs
complete -d pushd
complete -F _ypmatch ypcat
complete -F _sh sh
complete -F _rcs rcsdiff
complete -F _gcc g77
complete -F _gcc g++
complete -F _complete compgen
complete -F _filedir_xspec playmidi
complete -o default -F _longopt mv
complete -F _known_hosts rlogin
complete -b help
complete -A stopped -P '"%' -S '"' bg
complete -F _sysctl sysctl
complete -o default -F _createdb createdb
complete -F _postmap postalias
complete -F _make gnumake
complete -o default -o nospace -F _export export
complete -F _filedir_xspec cdiff
complete -F _filedir_xspec bibtex
complete -F _filedir_xspec rgview
complete -F _filedir_xspec realplay
complete -F _filedir_xspec xine
complete -F _filedir_xspec xpdf
complete -o default -F _longopt strip
complete -o default -F _longopt pr
complete -o default -F _longopt gperf
complete -F _known_hosts ftp
complete -F _postsuper postsuper
complete -o bashdefault -F _perldoc perldoc
complete -F _javac javac
complete -F _filedir_xspec oowriter
complete -F _filedir_xspec chromium-browser
complete -F _filedir_xspec gqmpeg
complete -F _filedir_xspec tex
complete -F _filedir_xspec lzegrep
complete -o default -F _longopt m4
complete -F _command time
complete -F _command exec
complete -F _command do
complete -o nospace -F _user_at_host finger
complete -o nospace -F _user_at_host ytalk
complete -c which
complete -u slay
complete -F _vipw vipw
complete -o nospace -F _alias alias
complete -F _autoreconf autoreconf
complete -F _filedir_xspec aviplay
complete -F _filedir_xspec latex
complete -F _filedir_xspec evince
complete -o default -F _longopt uname
complete -o default -F _longopt shar
complete -F _known_hosts tracepath6
complete -F _pkg_config pkg-config
complete -F _ldappasswd ldappasswd
complete -F _filedir_xspec netscape
complete -F _filedir_xspec acroread
complete -o default -F _longopt bc
complete -F _root_command gksudo
complete -F _ssh ssh
complete -F _javaws javaws
complete -F _mktemp mktemp
complete -F _filedir_xspec rvim
complete -F _filedir_xspec makeinfo
complete -F _filedir_xspec bunzip2
complete -o default -F _longopt tail
complete -o default -F _longopt nl
complete -F _known_hosts host
complete -F _known_hosts tracepath
complete -F _ldapsearch ldapsearch
complete -F _chown chown
complete -F _bzip2 bzip2
complete -F _filedir_xspec ogg123
complete -o default -F _longopt nm
complete -o default -F _longopt awk
complete -F _command xargs
complete -o default -F _setquota setquota
complete -F _python python2
complete -F _ldapcompare ldapcompare
complete -o dirnames -F _umount umount
complete -F _lsof lsof
complete -o nospace -F _dd dd
complete -F _filedir_xspec kwrite
complete -F _filedir_xspec gview
complete -F _filedir_xspec ps2pdfwr
complete -F _filedir_xspec qiv
complete -F _filedir_xspec lrunzip
complete -F _filedir_xspec znew
complete -F _filedir_xspec bzcat
complete -o default -F _longopt who
complete -o default -F _longopt expand
complete -F _known_hosts ping
complete -F _python python3
complete -o default -F _dropdb dropdb
complete -F _cpio cpio
complete -F _aclocal aclocal
complete -F _filedir_xspec harbour
complete -F _filedir_xspec lokalize
complete -F _filedir_xspec amaya
complete -F _filedir_xspec kate
complete -F _filedir_xspec xemacs
complete -F _filedir_xspec dragon
complete -F _filedir_xspec pdftex
complete -F _filedir_xspec unlzma
complete -o default -F _longopt paste
complete -o default -F _longopt mkdir
complete -o default -F _longopt cp
complete -F _root_command really
complete -F _root_command kdesudo
complete -F _xzdec xzdec
complete -F _ssh_copy_id ssh-copy-id
complete -F _postcat postcat
complete -F _ldapdelete ldapdelete
complete -F _chgrp chgrp
complete -F _function declare
complete -F _autoscan autoscan
complete -F _filedir_xspec hbpp
complete -F _filedir_xspec rpm2cpio
complete -F _filedir_xspec pdflatex
complete -o default -F _longopt patch
complete -o default -F _longopt ln
complete -o default -F _longopt df
complete -o default -F _longopt bash
complete -o dirnames -o filenames -C j --complete j
complete -o default -F _quotaon quotaon
complete -o default -F _repquota repquota
complete -F _perl perl
complete -F _automake automake-1.11
complete -F _filedir_xspec wine
complete -F _filedir_xspec view
complete -F _filedir_xspec vi
complete -F _filedir_xspec unxz
complete -F _command nice
complete -F _command else
complete -F _known_hosts mtr
complete -v unset
complete -g groupdel
complete -o default -F _screen screen
complete -F _man man
complete -F _gcc gpc
complete -F _configure configure
complete -F _filedir_xspec ly2dvi
complete -F _filedir_xspec mozilla-firefox
complete -F _filedir_xspec mozilla
complete -o default -F _longopt enscript
complete -F _known_hosts traceroute6
complete -u sux
complete -o default -F _edquota edquota
complete -F _ldapaddmodify ldapmodify
complete -F _complete complete
complete -F _filedir_xspec ooimpress
complete -F _filedir_xspec opera
complete -F _filedir_xspec gvim
complete -F _filedir_xspec uncompress
complete -A binding bind
complete -F _ypmatch ypmatch
complete -o nospace -F _scp scp
complete -F _passwd passwd
complete -F _ntpdate ntpdate
complete -F _make make
complete -F _gzip pigz
complete -o default -F _cvs cvs
complete -F _filedir_xspec modplugplay
complete -F _filedir_xspec lzgrep
complete -o default -F _longopt tr
complete -o default -F _longopt curl
complete -F _root_command gksu
complete -F _known_hosts fping
complete -F _known_hosts ping6
complete -F _sqlite3 sqlite3
complete -F _postfix postfix
complete -F _ldapmodrdn ldapmodrdn
complete -F _id id
complete -F _filedir_xspec kid3-qt
complete -F _filedir_xspec xanim
complete -F _filedir_xspec unpigz
complete -F _xmllint xmllint
complete -F _vipw vigr
complete -F _rcs ci
complete -o default -F _quotacheck quotacheck
complete -F _man apropos
complete -F _filedir_xspec portecle
complete -F _filedir_xspec dillo
complete -F _filedir_xspec aaxine
complete -F _filedir_xspec dvipdfmx
complete -F _filedir_xspec advi
complete -F _filedir_xspec ggv
complete -o default -F _longopt rmdir
complete -o default -F _longopt cut
complete -F _command nohup
complete -A setopt set
complete -u groups
complete -o default -F _look look
complete -o nospace -F __gdbus gdbus
complete -o default -F _gdb gdb
complete -F _gcc gcc
complete -F _filedir_xspec oocalc
complete -F _filedir_xspec emacs
complete -F _filedir_xspec lzmore
complete -F _filedir_xspec lzless
complete -o default -F _longopt bison
complete -u chfn
complete -F _xz xz
complete -F _man whatis
complete -F _autoscan autoupdate
complete -F _filedir_xspec fbxine
complete -F _filedir_xspec kdvi
complete -o default -F _longopt indent
complete -F _command padsp
complete -F _command eval
complete -F _autoconf autoconf
complete -F _ant -C complete-ant-cmd.pl ant
complete -F _filedir_xspec poedit
complete -F _filedir_xspec firefox
complete -F _filedir_xspec lynx
complete -F _filedir_xspec ps2pdf
complete -F _filedir_xspec kpdf
complete -F _filedir_xspec gv
complete -o default -F _longopt shasum
complete -o default -F _longopt less
complete -F _command vsound
complete -F _command command
complete -F _rcs rlog
complete -F _psql psql
complete -F _lzma lzma
complete -F _info info
complete -F _filedir_xspec oomath
complete -F _filedir_xspec madplay
complete -F _filedir_xspec compress
complete -o default -F _longopt sort
complete -F _known_hosts ssh-installkeys
complete -F _tar tar
complete -F _ssh autossh
complete -F _make gmake
complete -F _filedir_xspec lilypond
complete -F _filedir_xspec gtranslator
complete -F _filedir_xspec jadetex
complete -o default -F _longopt texindex
complete -o default -F _longopt seq
complete -o default -F _longopt fold
complete -o default -F _longopt env
complete -o default -F _longopt csplit
complete -F _command then
complete -b builtin
complete -j -P '"%' -S '"' fg
complete -u write
complete -F _rcs co
complete -F _filedir_xspec iceweasel
complete -F _filedir_xspec sxemacs
complete -F _filedir_xspec mpg321
complete -F _filedir_xspec mpg123
complete -F _filedir_xspec zcat
complete -F _filedir_xspec unzip
complete -F _filedir_xspec pbunzip2
complete -o default -F _longopt wc
complete -o default -F _longopt head
complete -F _command aoss
complete -u runuser
complete -o nospace -F _rsync rsync
complete -F _mysqladmin mysqladmin
complete -o default -F _iconv iconv
complete -o nospace -F __gresource gresource
complete -F _bzip2 pbzip2
complete -F _automake automake
complete -F _filedir_xspec kid3
complete -F _filedir_xspec pdfjadetex
complete -F _filedir_xspec gpdf
complete -F _filedir_xspec dvipdf
complete -F _filedir_xspec kghostview
complete -o default -F _longopt mknod
complete -o default -F _longopt ls
complete -F _command ltrace
complete -F _known_hosts rsh
complete -F _nslookup nslookup
complete -u w
complete -o default -F _quota quota
complete -o nospace -F __gsettings gsettings
complete -F _gcc gcj
complete -F _chsh chsh
complete -F _function typeset
complete -F _function function
complete -F _filedir_xspec gharbour
complete -F _filedir_xspec modplug123
complete -F _filedir_xspec dvipdfm
complete -F _filedir_xspec pbzcat
complete -F _known_hosts dig
complete -F _known_hosts telnet
complete -c type
complete -A shopt shopt
complete -F _port port
complete -F _jarsigner jarsigner
complete -F _ktutil ktutil
complete -F _find find
complete -F _crontab crontab
complete -F _filedir_xspec oobase
complete -F _filedir_xspec texi2dvi
complete -F _filedir_xspec texi2html
complete -F _filedir_xspec zipinfo
complete -o default -F _longopt unexpand
complete -o default -F _longopt od
complete -o default -F _longopt irb
complete -o default -F _longopt fmt
complete -o default -F _longopt du
complete -F _ssh slogin
complete -o default -F _openssl openssl
complete -F _javadoc javadoc
complete -F _autoreconf autoheader
complete -F _filedir_xspec epiphany
complete -F _filedir_xspec ps2pdf12
complete -F _filedir_xspec ee
complete -F _filedir_xspec lzcat
complete -F _known_hosts showmount
complete -o nospace -F _user_at_host talk
complete -v readonly
complete -F _tcpdump tcpdump
complete -F _sftp sftp
complete -F _newgrp newgrp
complete -F _pack200 pack200
complete -F _filedir_xspec ps2pdf13
complete -F _filedir_xspec gunzip
complete -o default -F _longopt rm
complete -o default -F _longopt netstat
complete -F _root_command fakeroot
complete -F _xmlwf xmlwf
complete -F _rcs rcs
complete -F _postmap postmap
complete -F _nmap nmap
complete -F _unpack200 unpack200
complete -F _gzip gzip
complete -F _filedir_xspec google-chrome
complete -F _filedir_xspec vim
complete -F _filedir_xspec ps2pdf14
complete -F _filedir_xspec okular
complete -F _filedir_xspec dvips
complete -F _filedir_xspec lzfgrep
complete -o default -F _longopt date
complete -o default -F _longopt cat
complete -F _known_hosts fping6
complete -j -P '"%' -S '"' disown
complete -u su
complete -F _gcc c++
complete -F _aclocal aclocal-1.11
complete -F _filedir_xspec hbrun
complete -F _filedir_xspec kbabel
complete -F _filedir_xspec rview
complete -F _filedir_xspec kaffeine
complete -F _filedir_xspec slitex
complete -o default -F _longopt wget
complete -o default -F _longopt units
complete -o default -F _longopt touch
complete -o default -F _longopt diff
complete -o nospace -F _cd cd
complete -F _python python
complete -F _make pmake
complete -F _cancel cancel
complete -o default -F _cpan2dist cpan2dist
complete -F _filedir_xspec galeon
complete -F _filedir_xspec bzme
complete -F _filedir_xspec xfig
complete -F _filedir_xspec xv
complete -F _filedir_xspec xzcat
complete -o default -F _longopt tee
complete -o default -F _longopt mkfifo
complete -o default -F _longopt gprof
complete -F _known_hosts traceroute
complete -F _xsltproc xsltproc
complete -F _ri ri
complete -o default -F _quotaoff quotaoff
complete -o default -o dirnames -F _mount mount
complete -F _jar jar
complete -F _filedir_xspec lyx
complete -F _filedir_xspec rgvim
complete -F _filedir_xspec timidity
complete -F _filedir_xspec dvitype
complete -F _filedir_xspec dviselect
complete -F _filedir_xspec xdvi
complete -o default -F _longopt uniq
complete -F _root_command sudo
complete -F _command tsocks
complete -a unalias.