ianmacd
386ad4b44a
mkdir and rmdir now bound to _longopt(), default to dirnames
...
a2ps, autoconf, automake, bc, gprof, ld, nm, objcopy, objdump, readelf, strip,
bison, cpio, diff, patch, enscript, cp, df, dir, du, ln, ls, mkfifo, mknod,
mv, rm, touch, vdir, xargs, awk, gperf, grep, gpg, grub, indent, less, m4,
sed, shar, date, env, seq, su, tee, uname, who, texindex, cat, csplit, cut,
expand, fmt, fold, head, md5sum, nl, od, paste, pr, ptx, sha1sum, sort,
split, tac, tail, tr, unexpand, uniq, wc, units and rsync now all have
GNU long option completion from _longopt()
gpc completion added into _gcc()
cat, less, more, ln and strip no longer bound to _filedir()
2002-02-18 08:26:34 +00:00
ianmacd
c0c04c0b68
ee, xv, qiv and display also complete on .xpm files
2002-02-17 15:50:17 +00:00
ianmacd
bacf3a3e4c
break part of _gcc() into _longopt() and use this for ldd, wget, bash, id and
...
info completion, as demonstrated by Manu Rouat <emmanuel.rouat@wanadoo.fr>
2002-02-16 00:13:00 +00:00
ianmacd
318d304194
completion for gcc and back-ends (g++, c++, g77, and gcj) from
...
Phil Edwards <phil@jaj.com>
2002-02-15 22:53:58 +00:00
ianmacd
3f4b69ac53
update release to 20020215
2002-02-15 06:18:22 +00:00
ianmacd
3635387c41
mplayer also completes on .wmv files
2002-02-14 23:44:21 +00:00
ianmacd
fe26df90fd
_man(): use manpath instead of /etc/man{,path}.config to find list of paths
...
to search. This approach honours $MANPATH
_man(): fixed bug that caused a spurious ':' to be returned as a possible
completion for all manual sections
2002-02-14 22:39:04 +00:00
ianmacd
d9f457cf96
_rpm(): add --nodeps and --nodirtokens to possible completions for rpm -b*
...
and rpm -t*
_rpm(): add --rmsource, --rmspec, --sign & --nodirtokens to possible
completions for rpm --rebuild and rpm --recompile
_rpm(): rpm --recompile and --rebuild now offer compatible long options as
possible completions, even when current parameter does not start with a '-'
_rpm(): rpm --clean, --rmsource and --rmspec now offer compatible long options
as possible completions, even when current parameter does not start with a '-'
2002-02-14 20:11:31 +00:00
ianmacd
5629a67cbb
_rpm(): default to directory completion as a last resort in more cases
2002-02-14 19:07:42 +00:00
ianmacd
93f113e34d
_man(): check for /etc/manpath.config as well as /etc/man.config, since
...
Debian uses the former
2002-02-14 16:49:43 +00:00
ianmacd
acb9c52558
user name completion for passwd was accidentally later replaced by group
...
name completion (duh)
2002-02-13 18:25:22 +00:00
ianmacd
b312694b3e
add rsh, rlogin & ftp to commands that use _known_hosts()
2002-02-13 18:23:52 +00:00
ianmacd
97369cc352
beginnings of psql completion
2002-02-13 18:20:59 +00:00
ianmacd
496ecaa892
mplayer also completes on .mov files
2002-02-13 17:33:29 +00:00
ianmacd
61e6a38597
update release to 20020213
2002-02-13 16:02:57 +00:00
ianmacd
0062836a54
add line continuation character to _tcpdump(), or compgen will eat up all of
...
the memory on the system
2002-02-13 15:54:03 +00:00
ianmacd
e3564a20ac
breaking completion definitions that use -X over multiple lines broke them,
...
when later reassigning them to _filedir_xspec()
2002-02-13 15:46:15 +00:00
ianmacd
0d0e88ef3e
updated release to 20020212
2002-02-12 17:36:17 +00:00
ianmacd
1f9b57a169
clean up _man() a little
2002-02-12 16:05:22 +00:00
ianmacd
e99882fb6c
beginnings of gdb completion
...
type now simply completes on commands (complete -c) rather than using
_command()
2002-02-11 22:28:47 +00:00
ianmacd
08b34a63ba
in _apt-cache(), return package list for --show, --showpkg, --depends
...
and --dotty
2002-02-11 05:06:19 +00:00
ianmacd
b045216981
_scp() now suffixes a ':' on hostnames
2002-02-11 02:14:08 +00:00
ianmacd
d51b4604ff
add bash export completion
...
change $cword reference to $cur in alias completion
remove local from list of built-ins that complete on variables, since local
can't be used interactively
2002-02-11 01:49:26 +00:00
ianmacd
ea10afb706
alias and function completion based on code submitted by
...
ulf.bartelt@t-online.de <Ulf Bartelt>
2002-02-10 23:11:03 +00:00
ianmacd
2dddaf2b23
ncftp bookmark completion from Markus Dobel <mdobel@kawo2.rwth-aachen.de>
2002-02-10 20:45:46 +00:00
ianmacd
251e972c2f
add qiv and display to list of programs that complete on image files
...
xfig completes on .fig files
2002-02-10 20:32:39 +00:00
ianmacd
2a29d6370c
update release to 20020209
2002-02-09 07:30:49 +00:00
ianmacd
43734d4e42
fixed minor quoting bug in _filedir() and _filedir_xspec() that caused paths
...
with embedded spaces to still not be correctly completed in some cases
2002-02-08 17:16:44 +00:00
ianmacd
61a29b1fcc
_man(): some systems (e.g. Mandrake) have bzipped man pages
...
_man(): remove code duplication
more file types for ee and xv
2002-02-08 16:49:05 +00:00
ianmacd
c07198e692
updated release to 20020206
2002-02-06 18:02:53 +00:00
ianmacd
ba9b87d9f2
make -name, -lname, -iname & -ilname complete on files in _find() and
...
change default completion from -o default to -o filenames
2002-02-06 17:41:06 +00:00
ianmacd
7861de5841
make xdvi also complete on .Z, .gz and .bz2 files
2002-02-06 16:05:12 +00:00
ianmacd
ebce6ca0d7
change instances of -X '!*.+(foo|bar)' to -X '!*.@(foo|bar) in the various
...
one-liners, so that e.g. baz would complete on .foo or .bar, but not .foobar
2002-02-06 15:54:09 +00:00
ianmacd
100ef4f101
added a bunch of one-liners from patch by Matthias Klose <doko@cs.tu-berlin.de>
2002-02-06 04:02:46 +00:00
ianmacd
8592dda38b
add --pkgid, --hdrid, --fileid & --tid query options to _rpm() for rpm 4.0.4
2002-02-06 01:51:20 +00:00
ianmacd
5fa59bcce2
unzip also completes on .pk3 (Quake map) files
...
xmms, gqmpeg & freeamp also complete on .pls files
2002-02-05 15:55:30 +00:00
ianmacd
afa4d5e633
in _rpm(), consult /var/log/rpmpkgs for package list only if it is newer
...
than /var/lib/rpm/Packages
2002-02-04 18:11:42 +00:00
ianmacd
45f633b993
make scp work with files with embedded spaces (grr...)
2002-02-04 18:07:33 +00:00
ianmacd
b414d1c5b7
updated release to 20020204
2002-02-04 02:15:42 +00:00
ianmacd
4c175e5917
screen completion added - _screen()
...
beginnings of openssl completion added - _openssl()
2002-02-04 02:12:10 +00:00
ianmacd
3d0e1f3778
make --clean --rmsource and --rmspec work together in _rpm()
2002-02-03 21:01:43 +00:00
ianmacd
514bc14054
not all awks are created equal, so use sub() instead of gensub() in _killall()
2002-01-31 17:03:19 +00:00
ianmacd
f9ad911370
in _zip(), $xspec needs to be quoted to stop it from acting as a shell glob,
...
rather than a parameter to compgen
2002-01-31 16:01:43 +00:00
ianmacd
d1dfcfb8aa
unzip now also handles .exe files
2002-01-31 00:35:52 +00:00
ianmacd
d169c1f6d9
fix _find() so that if first command line parameter does not begin with -,
...
directory completion is performed. Previously 'find h<Tab>' would result
in 'find -help'.
2002-01-30 18:48:45 +00:00
ianmacd
3c1d0b8528
update release to 20020130
2002-01-30 04:08:47 +00:00
ianmacd
bcd711c86e
--clean can be used stand-alone in _rpm()
2002-01-30 04:04:28 +00:00
ianmacd
ee876ec281
make _ifupdown() detect a Debian Linux system and act accordingly
...
in _man(), check that /etc/man.config is readable, not just that it exists
in _rpm(), check that /var/log/rpmpkgs is readable, not just that it exists
2002-01-29 22:06:26 +00:00
ianmacd
8be8d85656
define $BASH_COMPLETION to hold location of completion script. This is a
...
read-only variable used by _filedir_xspec(). Why doesn't bash have a
built-in variable to return the path of the file currently being sourced?
2002-01-29 20:33:49 +00:00
ianmacd
fc2bfe2630
apparently, it should be aviplay, not avifile
2002-01-29 19:30:00 +00:00