Ville Skyttä
f853e6a6a1
Extract CVS roots completion into _cvs_roots().
2009-12-28 22:56:13 +02:00
Ville Skyttä
f8a2d67783
Add fusermount completion.
2009-12-28 22:40:13 +02:00
Ville Skyttä
b6434541cc
Use scp remote/local completion functions in sshfs.
2009-12-26 16:20:14 +02:00
Ville Skyttä
000cae95bc
Add dir-only handling to scp remote/local completion functions, operate directly on $cur.
2009-12-26 16:19:24 +02:00
Ville Skyttä
76383dd49d
Just use _known_hosts directly for generic vncviewer.
2009-12-26 14:11:49 +02:00
Ville Skyttä
2c475419b7
Install known hosts only completion for generic vncviewer.
...
For example Fedora uses tigervnc without symlinks from which it could
be recognized, and neither tightvncviewer nor xvnc4viewer completions
seem quite appropriate for it at the moment.
2009-12-26 13:32:57 +02:00
Ville Skyttä
c6e9334cfa
Add GNU chsh option completions.
2009-12-26 12:31:26 +02:00
Ville Skyttä
329890a73b
Extract scp local/remote file treatment into functions, reuse them in rsync.
2009-12-25 12:30:01 +02:00
Ville Skyttä
878b9a3e99
Define _tightvncviewer also when (only) vncviewer is available.
2009-12-25 12:14:10 +02:00
Ville Skyttä
cffa2db149
Fix comment spelling and line wrapping.
2009-12-25 12:07:47 +02:00
Ville Skyttä
8ab6708302
Drop dead code.
...
Availability of vncviewer is already checked with "have".
2009-12-25 12:05:44 +02:00
Ville Skyttä
894c877827
Add scp option completion.
2009-12-25 11:57:33 +02:00
Ville Skyttä
e0acaf8ed2
Split sshfs from contrib/ssh to contrib/sshfs.
2009-12-24 16:18:27 +02:00
Ville Skyttä
e308b07526
Add ssh -o BindAddress suboption completion.
2009-12-24 16:00:34 +02:00
Ville Skyttä
7c4de4a3ca
Use the usual (local) $prev and $cur in _ssh_suboption.
2009-12-24 15:57:43 +02:00
Ville Skyttä
b56e45eaac
Eliminate some duplicate code.
2009-12-24 15:52:05 +02:00
Leonard Crestez
92e7b73564
Improve ssh -o suboption completion (Alioth: #312122 ).
2009-12-24 15:45:19 +02:00
Jeremie Lasalle Ratelle
e2e1c391ed
Fix rsync remote path completion (Alioth: #312173 ).
2009-12-23 16:18:32 +02:00
Ville Skyttä
ed45c2caaf
Sync rsync options with rsync 3.0.6, add --compress-level arg completion.
2009-12-22 20:53:30 +02:00
Ville Skyttä
af90e1d5ad
Indentation fixes.
2009-12-22 20:37:53 +02:00
Ville Skyttä
3d9f8206e1
Use awk more to reduce number of invoked commands a bit.
2009-12-21 23:00:31 +02:00
Ville Skyttä
6807b5e72d
Replace some echos with printfs.
2009-12-21 00:09:02 +02:00
Ville Skyttä
c755d7becc
Replace some uses of ls with printf.
2009-12-20 23:44:33 +02:00
Ville Skyttä
8caddc47cf
Protect grep invocations from user aliases (Alioth: 312143).
2009-12-15 23:48:10 +02:00
Ville Skyttä
247ada3cc4
Make k3b option vs filename completion work more like others.
2009-12-15 23:16:31 +02:00
Ville Skyttä
3de141dd76
Get rid of use of unportable -r argument to sed.
2009-12-15 23:09:32 +02:00
Freddy Vulto
0529d738d2
Fix perl completion by removing : from wordbreaks
...
Specify colon (:) to be excluded as word separator character when doing
_get_cword().
2009-12-10 21:35:53 +01:00
Ville Skyttä
69aa25cd8f
Add pm-utils completion.
2009-12-10 22:00:52 +02:00
Ville Skyttä
0f25d9c66f
Use sort -u instead of sort | uniq where appropriate.
2009-12-09 23:55:45 +02:00
Freddy Vulto
cbf7e1f963
Merge branch 'master' of git+ssh://fvu-guest@git.debian.org/git/bash-completion/bash-completion
2009-12-09 22:17:02 +01:00
Freddy Vulto
6fe53ef0e6
Fixed completing perl modules containing colons
...
The solution for bash-4 is to remove the colon from COMP_WORDBREAKS:
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
The workaround for bash-3, or bash-4 with a colon in COMP_WORDBREAKS,
is to call:
__ltrim_colon_completions "$cur"
after completions have been put in COMPREPLY.
See also: E13) Why does filename completion misbehave if a colon appears
in the filename? - Bash FAQ, http://tiswww.case.edu/php/chet/bash/FAQ
2009-12-09 22:13:56 +01:00
Ville Skyttä
98d439ea46
Use grep -E instead of deprecated egrep.
2009-12-09 22:52:00 +02:00
Ville Skyttä
04b7883f7d
Use here strings instead of echos where appropriate (part of Alioth: #312143 ).
2009-12-09 22:46:09 +02:00
Ville Skyttä
09045a63b6
Add update-alternatives --set, --usage, and --slave completions, simplify some bits.
2009-12-09 21:26:12 +02:00
Ville Skyttä
d68c8e508a
Indentation fixes.
2009-12-09 21:06:35 +02:00
Ville Skyttä
b4b4b37b96
Fix version in upstream availability comment.
2009-12-09 20:43:21 +02:00
Ville Skyttä
536a780c2e
Drop short options from screen completions where long(er) ones exist, add --help and --version.
2009-12-09 01:06:47 +02:00
Ville Skyttä
21d0f70cb0
Use _shells in screen -s.
2009-12-09 01:01:49 +02:00
Ville Skyttä
6e2b17c4e6
Add deprecation status/reason comments.
2009-12-08 19:46:19 +02:00
Ville Skyttä
7248290e6e
Deprecate modules completion, upstream modules >= 3.2.7 ships one.
2009-12-08 19:45:35 +02:00
Ted Stern
af26cfb285
Fix modules completion for "(default)" entries.
2009-12-08 19:43:00 +02:00
Ville Skyttä
ab74bd4da9
Redirect dcop/qdbus stderr to /dev/null.
...
Even if we have e.g. dcop installed we may not have dcopserver running
and providing completions.
2009-11-30 23:16:08 +02:00
Ville Skyttä
a6f79a9a69
Add jarsigner, pack200, and unpack200 completions.
2009-11-30 23:01:32 +02:00
Ville Skyttä
754ee95c1c
Drop some unnecessary echos and greps.
2009-11-29 17:16:17 +02:00
Ville Skyttä
e24f69aac3
Fix ssh -m completion.
2009-11-28 12:47:48 +02:00
Ville Skyttä
97e3778cb2
Code cleanups, indentation and line wrapping fixes, comment improvements.
2009-11-28 12:47:48 +02:00
Ville Skyttä
c948a3d411
Reuse "esc" more in scp escaping.
2009-11-28 12:47:48 +02:00
Ville Skyttä
3a44188d52
Fix scp completion for paths containing other backslash escaped chars besides spaces.
2009-11-28 12:47:48 +02:00
Ville Skyttä
ff0f741dcf
Fix completion of remote scp filenames with spaces.
...
Backslash escaping adds 3 backslashes, of which we want to remove 2,
not 4 when unescaping.
2009-11-28 12:47:48 +02:00
Ville Skyttä
032483036f
Avoid extended globbing in case labels per current style guidelines.
2009-11-23 20:16:30 +02:00