2052 Commits

Author SHA1 Message Date
Ville Skyttä
563e4d355d Split mount and umount completion into contrib/mount. 2010-01-02 10:35:18 +02:00
Guillaume Rousse
38516ee431 Merge branch 'master' of git+ssh://git.debian.org/git/bash-completion/bash-completion 2009-12-31 17:36:20 +01:00
Freddy Vulto
3f0bfbc5ae Fix __reassemble_comp_words_by_ref()
Completing "a b " returned cur=b instead of cur=nothing if a wordbreak
character was specified.
2009-12-31 11:12:15 +01:00
Ville Skyttä
07db41e38f Don't list non-working "rtc" in --device completions. 2009-12-30 23:05:29 +02:00
Ville Skyttä
9c402241c4 Add rtcwake completion. 2009-12-30 22:59:17 +02:00
Freddy Vulto
f321c377af (testsuite) Delete directory fixtures/_filedir/a\b
Directories `a\b' and `a*b' are now created run-time on a
non-Cygwin/Windows system only.  Tests concerning these directories will
also be run only on a non-Cygwin/Windows system.
(Alioth #312191)
2009-12-30 14:48:17 +01:00
Freddy Vulto
3251038c9d Fix __reassemble_comp_words_by_ref()
On bash-3, completing a b c: with COMP_WORDBREAKS -= : would result in the
current word being bc: (Alioth #312190)

Added unit test, run via:

    ./run unit/_get_cword.exp
2009-12-30 09:43:16 +01:00
Guillaume Rousse
8c483668c1 use consistent variable names with screen completion 2009-12-30 00:43:31 +01:00
Guillaume Rousse
ec1e137977 indentation fix 2009-12-30 00:41:15 +01:00
Guillaume Rousse
f2041ce0e4 no need to quote case argument nor targets 2009-12-30 00:39:59 +01:00
Guillaume Rousse
877d36fefb make selection of optionsvs mandatory argument completion similar to others 2009-12-30 00:32:36 +01:00
Guillaume Rousse
2e1b780d84 remove individual authorship notices, I'm already present in the AUTHORS file 2009-12-30 00:00:55 +01:00
Guillaume Rousse
dd30aa427c substitute path to bash_completion time in profile script according to actual installation path 2009-12-29 23:50:08 +01:00
Guillaume Rousse
1691618a65 keep all automake options in a single place 2009-12-29 23:39:45 +01:00
Guillaume Rousse
4d4b6e9ba6 add support for test suite 2009-12-29 23:39:06 +01:00
Guillaume Rousse
3d584c94cb set BASH_COMPLETION_COMPAT_DIR to BASH_COMPLETION_DIR, to avoid sourcing actual /etc/completion.d directory before tests 2009-12-29 23:07:06 +01:00
Guillaume Rousse
84c20852a3 ensure HOME is changed before running test, to avoid polluting known_hosts result with tester environment 2009-12-29 23:05:28 +01:00
Raphaël Droz
14588b8491 Add xsltproc completion (Alioth: #311843). 2009-12-29 00:10:13 +02:00
Ville Skyttä
eee39d7b66 Re-fix *.okular addition, this time without matching compressed ones. 2009-12-28 23:50:24 +02:00
Ville Skyttä
d15c096f0b Add cvsps completion. 2009-12-28 23:45:03 +02:00
Ville Skyttä
0b13b03886 Rewrite CVS roots completion, add $CVSROOT and contents of CVS/Root.
Still works poorly because of the colons and -o default.
2009-12-28 23:42:40 +02:00
Ville Skyttä
fcc305a11b Don't complete encrypted passwords from ~/.cvspass as CVS roots, add some TODO comments. 2009-12-28 23:00:35 +02:00
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
David Paleino
8299cd3616 Revert "Fix *.okular addition."
This reverts commit dd5134a39a25f967cbc020b8a4d15807a2f5028e.

  Okular doesn't open compressed .okular files.
2009-12-28 21:28:16 +01:00
Ville Skyttä
dd5134a39a Fix *.okular addition. 2009-12-28 22:25:47 +02:00
David Paleino
db3c386fd3 Added .okular completion to okular (Debian: #545530) 2009-12-27 19:07:24 +01: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ä
c6ce22ae44 (testsuite) _vncviewer_bootstrap getting unset is expected, don't fail on it. 2009-12-26 12:58:46 +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
Ville Skyttä
8f56de625e Fix $2 example in _get_cword doc. 2009-12-24 15:31:19 +02:00
Freddy Vulto
c9c98da36e Fixed `quote_readline'.
This fixes completing filenames containing single quote (') on bash-4.

Also added emulation of `-o filenames' to _filedir.

Added tests for _filedir.

Fixed array assignment within __reassemble_comp_words_by_ref().
2009-12-24 10:00:29 +01:00
Freddy Vulto
f9db6abdc1 (testsuite) Added shell script `run'
This allows tab-completion of test scripts to run, e.g.:

    $ ./run unit/comp<TAB>
    $ ./run unit/compgen.exp

Instead of the old way:

    $ ./runUnit compgen.exp
2009-12-24 09:43:24 +01:00
Freddy Vulto
fec41f3c74 (testsuite) Added function `assert_bash_list_dir' 2009-12-24 09:41:22 +01: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