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
ianmacd
8da226043b
- _configure(): when a completion is of the form --option=SETTING, make the
...
inclusion of SETTING in the completion be optional (set $hints)
2002-04-02 14:56:59 +00:00
ianmacd
84415c4da6
- update release to 20020402
2002-04-02 08:04:57 +00:00
ianmacd
0e889fd5ff
- update version and changelog
2002-04-02 08:01:28 +00:00
ianmacd
96e1f9aa50
- update version and changelog
2002-04-02 08:00:47 +00:00
ianmacd
c1c7ae5797
- _kill(): call _pids rather than duplicate code
...
- _longopt(): when parsing --help output, pipe stderr through stdout
2002-04-02 06:22:27 +00:00
ianmacd
f91a652220
- add netstat to list of commands that complete on long options
...
- add renice completion, submitted by Michael G <michaelg@amerion.net>,
and rewritten helper functions _pids() and _pgids()
2002-04-02 06:17:35 +00:00
ianmacd
a0514e1d73
- _dpkg-reconfigure() fix and enhancements from
...
Dr.Rafael Sepúlveda <drs@gnulinux.org.mx>
2002-04-02 05:27:50 +00:00
ianmacd
a3e51c1db7
- _command(): when passing off command lines for subcompletion by other
...
functions, we were passing incorrect information about the current line
position when the command line contained wildcards that expanded arguments
to multiple arguments
2002-04-01 16:50:05 +00:00
ianmacd
9eb37822a5
- _cvs(): make 'cvs commit' default to local file completion, since remote
...
completion is very annoying for those who have to supply a password.
Set 'remote=yes' within _cvs() to get the old behaviour.
2002-04-01 14:45:45 +00:00
ianmacd
5e5353405d
- _scp(): silence errors from remote path completion
2002-03-31 23:12:50 +00:00
ianmacd
2580ccfb4c
- update release to 20020331
2002-03-31 06:06:52 +00:00
ianmacd
778d21e930
- fix minor quoting problem in _cd()
2002-03-31 06:04:48 +00:00
ianmacd
cc963371c4
- release updated to 20020330
2002-03-30 18:33:56 +00:00
ianmacd
abb7b52301
- update version and changelog
2002-03-30 18:29:10 +00:00
ianmacd
443d9bb0f8
- _command(): commands like 'sudo chown' return completions of the form
...
'user:'. This gets escaped by _chown() and passed back as 'user\:'.
_command() then escapes this further to 'user\\\:', so we need to unescape it
to have things work correctly.
Unfortunately, 'sudo rm' might pass back the name of a file that has a
backslash followed by a colon in the name, e.g. 'foo\:bar'. This is
escaped by _command() to 'foo\\\:bar', which we should not unescape.
How to tell the difference between a completion that contains a backslash
that is escaping the following character, and one that has literal
backslashes?
We extract the '-o <type>' information from the compspec and, if we are
dealing with a spec that does not specify that it passes back filenames or
dirnames, we unescape any backslash/colon pairings. Of course, this means
that 'sudo chown' will still do the wrong thing when dealing with a
directory or filename that contains '\:'. Oh well...
2002-03-30 18:20:51 +00:00
ianmacd
390a748ed4
- fixes to _ant(), _java() and _urpmi() from
...
Guillaume Rousse <rousse@ccr.jussieu.fr>
2002-03-29 15:33:08 +00:00
ianmacd
3db00b2c24
- _rpm(): replace add_package_list() with installed_packages()
...
- _rpm(): remove uninstalled_packages()
- _rpm(): only offer rpm options as possible completions if parameter begins
with a dash
2002-03-29 07:30:47 +00:00
ianmacd
450b0d2a1c
- _cd(): checking for CDPATH at the start of the function simplifies things
...
somewhat
2002-03-29 02:43:09 +00:00
ianmacd
3eafaed8e1
- _insmod(): Mandrake Linux has gzipped modules
...
- add comments to make Emacs go into shell-script-mode upon editing
2002-03-29 02:35:42 +00:00
ianmacd
ab3645b2c0
- _cd(): don't foist the new relative to absolute path conversion on people
...
who don't use $CDPATH
2002-03-28 22:41:44 +00:00
ianmacd
a830c5df6d
- urpmi completion fixes from Guillaume Rousse <rousse@ccr.jussieu.fr>
2002-03-28 18:36:19 +00:00
ianmacd
84e2b40ab7
- update release to 20020328
2002-03-28 16:22:24 +00:00
ianmacd
e72b671770
- update version and changelog
2002-03-28 16:18:46 +00:00
ianmacd
743f9c05f2
- _longopt(): remove call to _expand(), since this gets called indirectly
...
anyway when _filedir() is called. This fixes a double escaping of trailing
backslashes when doing something like 'mv foo\<Tab>', which would cause an
eval error in _filedir()
2002-03-28 07:41:09 +00:00
ianmacd
33db210cd1
- lilypond completion by Laurent Martelli <laurent@bearteam.org>
2002-03-27 18:35:16 +00:00
ianmacd
110cb991a7
- dpkg completion enhancements from Laurent Martelli <laurent@bearteam.org>
...
- options which complete on package names or .deb files now can
complete several of them.
- --listfiles complete on installed package names
- --list complete on package names
- added --force options
2002-03-27 18:33:34 +00:00
ianmacd
d13530b894
- _cd(): when CDPATH=.:$HOME and $PWD = $HOME, every subdir of $HOME will be
...
returned both as $HOME/foo and foo. bash regards these as separate
directories, even though when displayed, bash will strip them to the
basename. Add code to turn any directory that is a subdir of $PWD into an
absolute path, so that it duplicates $HOME/dir and gets deduped.
2002-03-27 06:32:19 +00:00
ianmacd
95d4583120
- make fakeroot complete just like sudo
2002-03-26 19:28:58 +00:00
ianmacd
d406ccdba6
- simplify gv and ggv completion
2002-03-26 19:28:01 +00:00
ianmacd
d95036d590
- _querybts(): compgen was missing a continuation line that probably
...
resulted in lots of memory being eaten
- _querybts() and _reportbug(): --ui and --interface were missing '|'
separator
2002-03-26 18:45:45 +00:00
ianmacd
ac84e22170
- _java(): escape arguments to grep and find
2002-03-26 18:41:47 +00:00
ianmacd
58d08c3ca3
- update release to 20020326
2002-03-26 15:55:10 +00:00
ianmacd
b7a2035b6c
- update version and changelog
2002-03-26 15:54:30 +00:00
ianmacd
1b90ba5b28
- _ncftp(): slight modification to sed command to make it more compatible
...
across versions of sed
2002-03-26 15:36:00 +00:00
ianmacd
ca6ebad37b
- _tar(): some distros (notably Slackware and Sorceror), use -y as the
...
bzip compression switch, so we add this, along with -I, as that is sometimes
used, too
2002-03-26 15:27:02 +00:00
ianmacd
6b4dd7364e
- _chown(): make ':' the user:group separator, since only GNU chown supports
...
'.'. This requires some escaping work, but makes chown completion work on
any *NIX based system.
2002-03-26 15:17:12 +00:00
ianmacd
2cf5019d4c
- harbour completion contrib added
2002-03-25 16:11:35 +00:00
ianmacd
036ef0c3a8
- _ncftp(): replace cut with sed, since the existing cut command uses
...
--output-delimiter, which FreeBSD's cut doesn't have. We now also output
only the name of the bookmark, not the expansion to which it points.
2002-03-24 19:26:34 +00:00
ianmacd
e7d9e8471f
- _screen(): when dealing with -s, /etc/shells can have comment lines in it
2002-03-24 19:05:07 +00:00
ianmacd
ac0060af70
- _mount(): showmount is in /bin on FreeBSD
...
- _mount(): --show-headers is a GNU option not supported on FreeBSD's
showmount, so pipe through 'sed 1d' instead
- _killall(): 'c' switch to ps is superfluous
2002-03-24 18:57:37 +00:00
ianmacd
26acbc7f7c
- add handling of -r|--remove|--purge to dpkg completion
...
- add completion for dpkg-reconfigure
- add time to list of commands that use _command() for completion
2002-03-24 18:44:55 +00:00
ianmacd
e544ba713d
- updated release to 20020324
2002-03-24 07:11:30 +00:00
ianmacd
d30ee866d7
- update version and changelog
2002-03-24 07:10:58 +00:00
ianmacd
ede9d65371
- killall completion now also works on FreeBSD
2002-03-24 00:34:33 +00:00
ianmacd
54349c16fc
- alter _kill() to use /proc, so that it also works on FreeBSD and maybe other
...
systems, too
- alter _killall() to use simpler and more reliable way of getting at the
process name
2002-03-23 21:59:49 +00:00
ianmacd
6288ab29d7
- update release to 20020322
2002-03-22 15:54:52 +00:00
ianmacd
09144e5aea
- update version and changelog
2002-03-22 15:54:12 +00:00