16 Commits

Author SHA1 Message Date
Ville Skyttä
b758afc105 xrandr: Use the invoked command internally, not hardcoded "xrandr" 2014-04-03 10:43:18 +03:00
Ville Skyttä
c50313c30d xrandr: Add (some) --setprovider* arg completion support 2014-04-03 10:42:22 +03:00
Ville Skyttä
ba50a54641 xrandr: Add bunch of option arg non-completions. 2013-02-02 20:08:57 +02:00
Ville Skyttä
ae42c96758 xrandr: Use _parse_help. 2013-02-02 20:03:41 +02:00
Ville Skyttä
1e6a79196c xrandr --mode: Clean up one awk call. 2013-02-02 19:49:19 +02:00
Ville Skyttä
225b395b49 xrandr: Avoid --mode completion error when --output is not given. 2013-02-02 19:42:24 +02:00
Ville Skyttä
a3d4266cab xrandr: Cleanups. 2013-02-02 19:40:46 +02:00
Ville Skyttä
d66fc76be6 xrandr: Don't leak $i when completing --mode. 2013-02-02 19:39:20 +02:00
Igor Murzov
2e859f1a6c Cleanups: Be consistent, use $( foo ) instead of $(foo).
This partially reverts f0283e1c1b64202bb1adb9f44eac6fdfd80edece
2011-11-20 23:46:06 +03:00
Igor Murzov
f0283e1c1b Cleanups: Make code more compact.
Drop useless spaces, backslashes, return codes, unused arguments etc.
2011-11-20 17:10:58 +03: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
Igor Murzov
2a7db4d988 xrandr: Add more option completions. 2011-09-30 22:21:47 +04:00
Ville Skyttä
8048917968 Use _init_completion() in completions/[q-z]*. 2011-04-21 11:15:01 +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