Ville Skyttä
efeb1a22dd
man: Add option parsing and completion.
2011-04-28 20:48:41 +03:00
Ville Skyttä
d4e177a6ab
Simplify $UNAME checks.
2011-04-25 12:54:55 +03:00
Ville Skyttä
1b85a1bf58
Treat arguments starting with . or ~ as paths where that check is done.
2011-04-24 19:35:42 +03:00
Ville Skyttä
0cb6263424
Use _init_completion() in completions/m*.
2011-04-20 22:42:55 +03:00
Ville Skyttä
a7c3da6322
Take advantage of short-circuit eval of [[ ]].
2011-04-04 23:57:07 +03: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ä
1b13f96ff5
Remove redundant code.
2010-10-23 23:05:56 +03:00
Ville Skyttä
0f3a7ff2a5
Make man completion work with manpage names containing colons.
...
For example Perl module man pages often contain them. While at it,
add a couple of unrelated man test cases.
2010-10-23 23:03:05 +03:00
Guillaume Rousse
cb7fc2f7c4
rename 'contrib' directory to 'completions'
2010-09-12 16:42:21 +02:00