20 Commits

Author SHA1 Message Date
Ville Skyttä
a624cc2c30 man: Trivial cleanups. 2012-07-11 18:17:22 +03:00
Ville Skyttä
c9ed16694d man: Add support for .lz man pages (RedHat: #839310). 2012-07-11 18:15:10 +03:00
Ville Skyttä
739c6d2833 man: Recognize 3gl as man page filename extension -- at least Mesa uses it. 2012-05-16 22:11:26 +03:00
Igor Murzov
39ac4642bf man: Move variable declaration to the right place. 2012-03-25 18:14:18 +04:00
Igor Murzov
fb2d657fac man: --path option is supported on Darwin (Alioth: #313584) 2012-03-25 18:14:10 +04:00
Ville Skyttä
3b8ef29ef3 Cleanups: Use [[ instead of [. 2011-11-09 23:28:11 +02:00
Ville Skyttä
0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02:00
Ville Skyttä
5afc526850 Make _userland easier to use. 2011-10-16 10:56:44 +03:00
Ville Skyttä
449c71fa74 Get rid of remaining $UNAME and $USERLAND uses.
Use $OSTYPE and _userland() instead.
2011-10-13 21:37:34 +03:00
Ville Skyttä
c875723bef Include trailing equals sign in options that take arguments that way.
This way it's clearer to users that an argument is expected.  It's
likely that this commit does not catch all such cases, but it should
do it for most of the affected commands I have installed.
2011-05-02 11:45:55 +03:00
Ville Skyttä
a54857cd05 _init_completion: Add -s for splitting long options, use it in completions. 2011-05-02 00:04:26 +03:00
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