Commit Graph

10 Commits (master)

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ä 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ä 0bc2bb5897 Clean up unneeded semicolons. 2011-05-11 19:42:02 +03:00
Ville Skyttä 8048917968 Use _init_completion() in completions/[q-z]*. 2011-04-21 11:15:01 +03:00
Ville Skyttä ee43b22f9b Use += to append to arrays and strings.
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +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
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
Guillaume Rousse cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00