Commit Graph

35 Commits (master)

Author SHA1 Message Date
Ville Skyttä 4fa2616e70 Document $split && return. 2011-12-11 22:23:06 +02:00
Raphaël Droz f8b28a5827 Added a word about compopt -o nospace in styleguide.txt.
Modified-by: Ville Skyttä <ville.skytta@iki.fi>
2011-12-04 22:32:06 +02:00
Ville Skyttä 3b8ef29ef3 Cleanups: Use [[ instead of [. 2011-11-09 23:28:11 +02:00
Ville Skyttä 4e0c3ea683 Include doc/ in dist tarball. 2011-11-07 00:07:00 +02:00
Ville Skyttä 2f90dc7ecf Make _filedir's "fallback to everything" behavior optional, and off by default.
Configuration variable: COMP_FILEDIR_FALLBACK
http://thread.gmane.org/gmane.comp.shells.bash.completion.devel/3357
2011-09-19 19:42:52 +03:00
Ville Skyttä 8cb5d6560e Document ~/.bash_completion and $XDG_CONFIG_HOME/bash_completion. 2011-09-03 23:25:26 +03:00
Ville Skyttä 05f2114735 Documentation tweaks. 2011-08-16 11:52:52 +03:00
Igor Murzov 4f7e60a425 docs: Improve tester's manual 2011-06-05 22:06:27 +04:00
Ville Skyttä 9f45e81e65 Drop no longer needed _compopt_o_filenames().
Use compopt -o filenames directly instead.
2011-04-21 12:33:05 +03:00
Ville Skyttä 6589a0d61b Drop support for bash < 4.1, clean up no longer needed low hanging cruft. 2011-04-21 12:20:59 +03:00
Guillaume Rousse 4162edf2c1 document COMP_IWLIST_SCAN variable 2010-11-07 21:30:37 +01:00
Ville Skyttä 0f450219b6 Remove most "-o filenames" options to "complete".
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation.  This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Ville Skyttä 7d45595493 Complete known hosts from avahi-browse only if $COMP_KNOWN_HOSTS_WITH_AVAHI is non-empty.
This effectively turns off avahi-browse by default; doing it by
default is not worth it compared to the number of various (mostly
slowness) problems it has caused people, for example Alioth #312691
and RedHat #630326.

Mandriva has applied a similar patch for some time already, although
their environment variable name was different ($COMP_AVAHI_BROWSE).
2010-10-25 21:47:33 +03:00
Ville Skyttä 44f7ea3c5b Line length: 72 -> 79 as discussed on list. 2010-02-05 21:48:47 +02:00
Freddy Vulto 8aca9ab62d (doc) Add reference to Tcl Style Guide. 2010-02-05 11:39:23 +01:00
Freddy Vulto b9413e4151 (testsuite) Updated documentation
Added explanation about the two-file system: `completion/*.exp
calling completions in lib/completions/*.exp
2010-02-05 10:03:18 +01:00
David Paleino 6663709d76 docs: styleguide, establish line wrapping and $() instead of `` 2010-02-02 19:02:26 +01:00
David Paleino 3191d14a55 Wrap lines 2009-11-28 11:06:11 +01:00
David Paleino ea2a5d2aed Fix errors in the asciidoc ([[]] indicates a template in asciidoc) 2009-11-28 11:05:36 +01:00
David Paleino 14e373d3f1 Remove generated HTML documentation, add it to gitignore 2009-11-22 08:30:16 +01:00
Ville Skyttä 08c51bccbd Add style guide items for case label globbing and [[ ]] vs [ ]. 2009-11-20 22:54:44 +02:00
Freddy Vulto 2a506ec3f7 (testsuite) Set TERM=dummy only for non-cron
Err, TERM=linux also causes errors when tests are run via cron.
Reset TERM=dummy.
Workaround is to do a CRON=running from within the cron job and only set
TERM=dummy when not run via cron.
2009-11-18 23:45:16 +01:00
Freddy Vulto 36bdc2ecad (testsuite) Updated doc "Running tests via cron" 2009-11-02 19:56:55 +01:00
Guillaume Rousse a923b86b82 wrap long lines 2009-10-26 11:13:00 +01:00
Ville Skyttä 0822f37372 Note indentation style. 2009-10-22 11:40:26 +03:00
Freddy Vulto 4259efb5c4 (doc) Added sample cron.sh for test suite 2009-10-03 08:34:14 +02:00
Freddy Vulto 453a55e9c8 (testsuite) Fix assert_bash_exec to match prompt
Added documentation to "Testing" chapter:
- Running tests via cron
- Specifying bash binary
2009-10-02 10:53:00 +02:00
Ville Skyttä 2c82de1a57 Add Fedora/RHEL/CentOS dependency install info. 2009-09-09 19:03:07 +03:00
Ville Skyttä 603ed0acce Use --asciidoc-opts="--unsafe" instead of --unsafe for a2x for compatibility with asciidoc < 8.4.5. 2009-09-08 00:08:31 +03:00
Freddy Vulto 2e87bd4c01 Added setting COMP_KNOWN_HOSTS_WITH_HOSTFILE
`_known_hosts_real' will add hosts from HOSTFILE (compgen -A hostname), unless
`COMP_KNOWN_HOSTS_WITH_HOSTFILE' is set to an empty value.

To run the unit tests:

   $ cd test && ./runUnit _known_hosts_real.exp
2009-08-12 22:20:56 +02:00
Freddy Vulto e847d57e50 Improved test suite from bash-completion-lib
Run the tests with:
$ cd test
$ ./runCompletionUnit
$ ./runCompletionCompletion

The last test of unit/_known_hosts gives UNRESOLVED and needs fixing.
2009-06-09 22:49:53 +02:00
Freddy Vulto ec2e190cbb Fixed asciidoc-8.4.3 errors 2009-04-20 10:07:29 +02:00
David Paleino abad9538c4 doc/main.xml is auto-generated, ignore it 2009-04-16 09:57:24 +02:00
David Paleino 5ece6956cf Use \n instead of \r\n as line separator 2009-04-16 08:42:42 +02:00
Freddy Vulto b33a1c7526 Added asciidoc files. 2009-04-15 22:19:26 +02:00