297 Commits

Author SHA1 Message Date
ianmacd
9063b4357d - updated release to 20020504 2002-05-04 18:42:31 +00:00
ianmacd
25948d72b9 - python completion on .py, .pyc and .pyo files 2002-05-02 23:00:04 +00:00
ianmacd
49276384e5 - make xine complete on the same files as mplayer 2002-05-02 22:58:48 +00:00
ianmacd
c93409198e - define CVS helper functions outside of _cvs(), since that just parses them
at run-time anyway
2002-05-02 22:43:50 +00:00
ianmacd
6d6c1d2a5d - add long option completion to psql completion
(patch by Laurent Martelli <laurent@bearteam.org>)
2002-04-30 20:16:35 +00:00
ianmacd
fa6bab54e6 - cvs completion now handles diff
(patch by Laurent Martelli <laurent@bearteam.org>)
2002-04-30 19:55:20 +00:00
ianmacd
e76d582a68 - _filedir_xspec(): avoid eval errors when completing within backticks or
quotes
2002-04-30 19:47:42 +00:00
ianmacd
48776ec293 - updated release to 20020430 2002-04-30 14:16:22 +00:00
ianmacd
da63d5a592 - make installation of RPM functions a compound statement 2002-04-29 18:58:39 +00:00
ianmacd
6b5abdf0c6 - reworking of Postgresql completion by Guillaume Rousse <rousse@ccr.jussieu.fr> 2002-04-29 18:36:04 +00:00
ianmacd
ee60725dca - _cvs(): remove a superfluous grep and redirect stderr on ls
- add PINE address-book completion
2002-04-29 18:21:41 +00:00
ianmacd
aca71a0803 - updated release to 20020427 2002-04-27 16:45:24 +00:00
ianmacd
4bbaf70793 - add update-alternatives completion by Guillaume Rousse <rousse@ccr.jussieu.fr> 2002-04-24 20:26:49 +00:00
ianmacd
3c1fb56a43 - _urpmi_media(): urpmi completion now deals properly with spaces (patch
from Guillaume Rousse <rousse@ccr.jussieu.fr>
2002-04-24 13:40:37 +00:00
ianmacd
bf54af00d9 - check that the files we try to source in $BASH_COMPLETION_DIR are actually
plain old files
2002-04-24 13:28:56 +00:00
ianmacd
b8bc576485 - zipinfo now completes on the same files as unzip 2002-04-23 14:01:39 +00:00
ianmacd
38d9a7f511 - _export(): make 'export FOO=$<Tab>' complete on variable names 2002-04-23 00:51:54 +00:00
ianmacd
f711c4e4d5 - latex et al now also complete on .dtx and .ins files 2002-04-22 15:34:35 +00:00
ianmacd
7a507ded66 - add Debian dselect(8) completion 2002-04-22 06:39:07 +00:00
ianmacd
ce996de56f - updated release to 20020422 2002-04-22 06:25:31 +00:00
ianmacd
433a342a29 - tex, latex et al now also complete on .latex files 2002-04-22 06:17:57 +00:00
ianmacd
635d9d4c4d - use $UNAME instead of $OS, since the latter purportedly has bad interactions
in environments such as Cygwin
2002-04-22 05:59:08 +00:00
ianmacd
f11911d962 - move ri completion into contrib dir, because it's relatively uncommon 2002-04-22 05:48:12 +00:00
ianmacd
3925cc557d - _man(): avoid calling alias, if an alias called man exists
- bind rpmbuild to _rpm() function
2002-04-20 21:55:18 +00:00
ianmacd
d390191ef1 - _filedir(): fix error when completing on a quoted parameter
- _cd(): remove useless call of _expand()
2002-04-20 21:51:33 +00:00
ianmacd
ceb04c70fc - update release to 20020418 2002-04-18 14:05:31 +00:00
ianmacd
046009d2d6 - add 'annotate' to list of cvs commands that perform completion 2002-04-18 13:55:50 +00:00
ianmacd
93de69f1ce - added ri (Ruby documentation) completion 2002-04-18 13:29:56 +00:00
ianmacd
411b1d4edc - _rpm(): rpm -qf worked, but rpm -q -f didn't. Simiarly, rpm -V -f didn't
work; nor did rpm -Vg or rpm -V -g
2002-04-17 06:44:12 +00:00
ianmacd
ad561ac1ca - avoid errors when comp{gen,lete} -g don't work on an unpatched bash 2.05 2002-04-14 22:41:04 +00:00
ianmacd
85c90179c9 - updated release to 20020412 2002-04-13 17:24:28 +00:00
ianmacd
1416f38e22 - _command(): back out change from 1.265, as we can't reliably avoid expansion
of wildcards prior to handing off for subcompletion. Also, back out change
  from 1.242 (release 20020402) that set the command line token pointer to be
  n-1 after expansion of any wildcards. We can't reliably know what the
  position of the current token is after expansion, since someone may do
  something like 'sudo ls fo*<Tab> bar', where 'fo*' expands to multiple
  tokens.
2002-04-13 17:21:42 +00:00
ianmacd
af6559deff - _command(): stop wildcards from expanding prior to handing off command line
for subcompletion
2002-04-11 22:24:08 +00:00
ianmacd
a5aa0efc6c - updated release to 20020408 2002-04-08 14:30:59 +00:00
ianmacd
15f41d5884 - _apt-get improvements from Laurent Martelli <laurent@bearteam.org>
- make _rpm()'s helper functions global. Having them within the _rpm() function
  body doesn't make them global anyway; it just makes them get sourced at
  run-time when _rpm() gets called, so this should be slightly faster
2002-04-07 17:17:13 +00:00
ianmacd
5f58d7380b - update release to 20020406 2002-04-06 20:21:13 +00:00
ianmacd
ea6cbaee07 - various fixes to urpmi function names to make them officially valid 2002-04-06 20:18:59 +00:00
ianmacd
59f7a87048 - _rpm(): rpm would try group query completion instead of either uninstalled or
installed query completion when passed a long option that ended with 'g'.
  Similarly, it would attempt uninstalled package completion instead of
  installed package completion when passed a long option that ended with 'p'.

  verify completion suffered from a similar bug
2002-04-05 17:45:05 +00:00
ianmacd
a7bdba1d92 - update release to 20020404 2002-04-04 14:49:40 +00:00
ianmacd
6a8397a742 - add compressed files (.Z) to the list that gv and ggv will complete on 2002-04-04 14:27:06 +00:00
ianmacd
e7f3e572de - add .m3u to list of extensions that xmms et al can complete on 2002-04-03 22:42:14 +00:00
ianmacd
256fa0e8a6 - clean up numerous areas where grep would complain if passed a $cur with
a space in it
2002-04-03 21:17:10 +00:00
ianmacd
e25e1fae7c - _rpm(): make package group completion a subcase of -q completion
It was very buggy before, completing only when 'rpm -g' was given (which is
  invalid), instead of 'rpm -qg'
2002-04-03 21:10:35 +00:00
ianmacd
47c753c358 - _route(): add 'default' and 'gw' as possible completions
- add lftp(1) and autorpm(1) completion from Kirk Bauer <kirk@kaybee.org>
2002-04-03 19:10:49 +00:00
ianmacd
76fde208dc - attempt to make everything bash 2.04 compatible by putting making the -o
switch to comp{lete,gen} a shell variable
- allow group completion in bash versions > 2.04 (was > 2.05, but that would
  break group completion for anyone who has installed a suitably patched 2.05)
2002-04-03 17:19:30 +00:00
ianmacd
d50f010e6c - add which(1) to list of commands that complete on commands 2002-04-03 16:56:55 +00:00
ianmacd
6392b218d2 - _umount(): make returned completions behave properly (remove -o filenames)
and default to directories if all else fails (add -o dirnames)
2002-04-03 16:56:01 +00:00
ianmacd
d8c6a7e609 - _cd(): back out some code that attempted to add a trailing slash to
completions relative to paths in $CDPATH, since this caused problems
  elsewhere
2002-04-03 05:11:06 +00:00
ianmacd
5c6089327e - set $nospace if bash 2.05b
- only use comp{gen,lete} -g if bash > 2.05
- _cd(): don't append a space to paths relative to $CDPATH when using bash
  2.05b
2002-04-02 23:37:51 +00:00
ianmacd
2b9f621e40 - _cvs(): set $COMP_CVS_REMOTE to get remote repository completion on
'cvs commit'
- _configure(): set $COMP_CONFIGURE_HINTS to get 'SETTING' included on
  --option=SETTING style completions
2002-04-02 17:22:40 +00:00