Ville Skyttä
20c05b43b6
Load completions in separate files dynamically, get rid of have().
2011-10-12 00:19:50 +03:00
Ville Skyttä
2fb0a3a9f6
cvs: Sort mode completions alphabetically.
2011-05-24 23:31:46 +03:00
Ville Skyttä
6b3121b30a
cvs: Add editors/watchers completion.
2011-05-24 23:30:46 +03:00
Ville Skyttä
2b8c0b0261
cvs: Recognize some additional commands and synonyms.
2011-05-24 23:26:50 +03:00
Ville Skyttä
080f04fcea
cvs: List "primary" command names first in mode switch.
2011-05-24 23:20:41 +03:00
Ville Skyttä
f186fc00fc
cvs: Rename get_* helper functions to _cvs_*.
2011-05-24 23:12:29 +03:00
Ville Skyttä
44dd868077
cvs: Add CVS controlled file completions for admin and update.
2011-05-24 23:10:11 +03:00
Ville Skyttä
af3f67f2e5
cvs: Improve CVS controlled file completions.
2011-05-24 23:08:45 +03:00
Ville Skyttä
b6794fe66d
cvs commit: Complete on entries instead of default if COMP_CVS_REMOTE is not set.
2011-05-24 20:22:23 +03:00
Ville Skyttä
bc38068568
cvs: Drop -o default to fix CVS root completions.
2011-05-24 20:20:43 +03:00
Ville Skyttä
40dc2d81df
cvs: Make $prefix setting actually work.
2011-05-24 19:55:18 +03:00
Ville Skyttä
9e102cc3e3
cvs: Don't leak $prefix.
2011-05-24 19:48:32 +03:00
Ville Skyttä
c36b68c4c9
cvs: Indentation fixes.
2011-05-24 08:41:00 +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ä
10cfd72956
cvs diff: Parse options from cvs diff instead of plain diff.
2011-04-29 12:42:39 +03:00
Ville Skyttä
e2c57c5966
Convert many completions to use _parse_help() instead of hardcoded option lists.
2011-04-28 21:21:31 +03:00
Ville Skyttä
e35eabb791
Avoid some unnecessary commands.
2011-04-26 00:21:55 +03:00
Ville Skyttä
f48d6fb10d
Use {x..y} brace expansion instead of `seq', loops, or long literal sequences.
2011-04-26 00:15:03 +03:00
Ville Skyttä
4c9789605f
Use _init_completion() in completions/c*.
2011-04-20 14:42:30 +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ä
94c51fc36e
Coding style consistency tweaks.
2011-04-04 23:48:22 +03:00
Guillaume Rousse
cb7fc2f7c4
rename 'contrib' directory to 'completions'
2010-09-12 16:42:21 +02:00