12 Commits

Author SHA1 Message Date
Ville Skyttä
7d3de619d1 *: Invoke command to be completed, not its basename 2014-11-16 12:18:41 +02:00
Ville Skyttä
882649b712 Protect various compgen invocations from -* leakage (Debian: #766163) 2014-11-01 21:48:35 +02:00
Ville Skyttä
6185297fc9 *: Line continuation, whitespace, and compgen -W ... -- "$cur" quoting cleanups. 2013-02-17 23:49:30 +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ä
20c05b43b6 Load completions in separate files dynamically, get rid of have(). 2011-10-12 00:19:50 +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ä
d5454732d8 getent: Allow multiple completions from same db, add option completion. 2011-04-28 21:35:08 +03:00
Ville Skyttä
0c810d1471 getent: Add gshadow to known databases. 2011-04-28 20:52:50 +03:00
Ville Skyttä
10f6eb8ee2 Use _init_completion() in completions/g*. 2011-04-20 17:02:27 +03:00
Ville Skyttä
9af6f3504e Abort completion file loading earlier if required commands are not available.
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00