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
ianmacd
0946ad341f
- move p4 completion into contrib, since not many people have this
2002-03-22 15:50:29 +00:00
ianmacd
3ff74ba156
- _rpm(): RPM kan also verify uninstalled packages these days, so detect
...
and act on -p
- _rpm(): add --querytags, --specfile, --whatrequires and --whatprovides
to options that 'rpm -V' can take
2002-03-22 15:45:42 +00:00
ianmacd
69020fc682
- one-liners for vi, vim, emacs and wine
2002-03-22 03:29:30 +00:00
ianmacd
8a780754ec
- only ee & display can handle .ico files
...
- realplay can also handle .smi and .smil files
2002-03-22 03:18:54 +00:00
ianmacd
0a8c423b36
- timidity and playmidi complete on .mid and .midi files
2002-03-19 15:19:58 +00:00
ianmacd
581a9c41c5
- update version and changelog
2002-03-18 17:14:57 +00:00
ianmacd
cf3c9807b9
- updated release to 20020318
2002-03-18 17:12:00 +00:00
ianmacd
a405220d06
- gv ggv now also complete on compressed PDF files
2002-03-18 17:10:57 +00:00
ianmacd
d737fe13a0
- add completion for -S|--search in dpkg completion
2002-03-16 19:49:44 +00:00
ianmacd
57dfffdc5b
- add chage, write, talk and chfn to list of commands that complete on user
2002-03-15 19:02:48 +00:00
ianmacd
81187bdaab
- _insmod(): the output of modinfo has changed in recent versions of modutils,
...
so alter the awk script to also deal with the case of the new output
2002-03-15 19:02:06 +00:00
ianmacd
b7429cecd2
- add .ico completion to ee, display, etc.
2002-03-15 16:39:18 +00:00
ianmacd
b3ad6561fa
- _scp(): try to perform remote path completion when parameter contains a
...
colon. This is subject to usual bash trailing whitespace issue.
2002-03-15 06:20:04 +00:00
ianmacd
1ed9003a84
- update version and changelog
2002-03-14 17:28:27 +00:00
ianmacd
1229cd1185
- update release to 20020314
2002-03-14 17:27:13 +00:00
ianmacd
fbcd289b6d
- _man(): eval requires double backslash escaping of ls
2002-03-13 06:29:52 +00:00