forked from scop/bash-completion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
1968 lines (1769 loc) · 84.4 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
bash-completion (2.7)
[ Eli Young ]
* Makefile: update default compatdir (#132)
[ Ville Skyttä ]
* Make user completion file configurable, disable in tests
* test suite: Generalize xspec completion install check
* pyflakes: Remove redundant xspec completion
* test suite: Fix __expand_tilde_by_ref test expectation output
* pdfunite: New *.pdf completion
-- Ville Skyttä <ville.skytta@iki.fi> Sat, 01 Jul 2017 14:08:43 +0300
bash-completion (2.6)
[ Björn Kautler ]
* Add missing sidedoor to .gitignore (#114)
[ Ville Skyttä ]
* test suite: Mark expected centos6 CI _filedir failures as such
* Expose version in BASH_COMPLETION_VERSINFO, use it in profile.d
script
* test suite: Skip an expected make test case failure in centos6 CI
* test suite: Fix ifdown and ifup CI test skipping
* test suite: Ignore env var pulled in by use of scp in tests
* test suite: If colon trim doesn't do anything, trim as usual
* tar: Comment spelling fixes
* test suite: Mark dpkg -L test case untested if no packages
installed
* test suite: Cosmetic tweaks
* dpkg: Fix dpkg -i home dir completion
* test suite: Improve ls home dir test descriptions
* python: Split module completion to separate helper
* micropython: New completion, aliased from python
* test suite: Add Python module completion test case
* python: Fix traceback avoidance on module completion error
* openssl: Parse available digests from dgst -h
* openssl: Add sha2 commands
* gm: New completion, commands only for now
* (test suite): Test screen -T completions
* (test suite): Set TERM to dumb, not dummy
* Revert "(test suite): Fix alias and cd cursor position tests"
* mplayer: Remove duplicate *.m4a and *.m4v associations
* mplayer, xine, etc: Associate *.mp4a and *.mp4v
* xine etc: Fix *.m4a association
* bind: Add option and argument (non-)completions
* _user_at_host: Set nospace only when completing username part
* _user_at_host: Append @ suffix to username part completions
* man: Don't check OSTYPE or GNU userland, just enable on all
systems
* (test suite): Set dcop result to untested if dcop server is not
running
* (test suite): Don't insist on loading all completions dynamically
* _configured_interfaces: Parse from /etc/network/interfaces.d/* on
Debian
* py.test: New completion
* oowriter: Associate with *.pdf
* Don't define BASH_COMPLETION_COMPAT_DIR
* ri: Add option and arg completions
* (test suite): Add our own dummy ri test fixture
* (test suite): Info test needs docs, don't exclude from CentOS
* (test suite): Fix CentOS 6 tcllib setup
* (test suite): Simplify renice test, fix with only one completion
* (test suite): Don't assume configured interfaces in CI setups
* Don't offer * as configured interface when there are none
* (test suite): Add basic CentOS 6 container for bash 4.1 coverage
* (test suite): Ignore runtime loaded env function changes
* (test suite): Add mailman bin dir to PATH for arch test
* arch: Parse options from --help
* (test suite): Load tested completions dynamically
* (test suite): Accept non-whitespace single word in
assert_complete_any
* (test suite): Avoid interference from user and system dirs (#87)
* (test suite): Install some things N/A in ubuntu14 to fedoradev
* (test suite): Add unrar to ubuntu14 container
* (test suite): Fix alias and cd cursor position tests
* (test suite): Add basic alpine test case
* alpine: Parse opts from -h output, add some opt arg completions
* (test suite): Install jshint globally in ubuntu14
* (test suite): Add mailman bin dir to PATH for some mailman tools
* (test suite): Install jshint to ubuntu14 container with npm
* unshunt: Parse options from --help
* (test suite): Test lsof on ubuntu14
* (test suite): Add basic hping3 test case
* (test suite): Add our ./configure to PATH to test it, test opts
* (test suite): Add bunch of packages to ubuntu14 container
* (test suite): Ensure /usr/(local/)games is in $PATH
* (test suite): Fix perl -d* test cases with no Devel::* installed
* (test suite): curl has lots of options, add more test prefix
* (test suite): Fix tar test case for ones having --owner-map
* (test suite): Unsupport various kill, renice cases if ps is N/A
* (test suite): Make chkconfig test behave better in container
* (test suite): Don't assume mounted filesystems in quota* tests
* newlist: Parse options from --help, add some arg non-completions
* (test suite): Delete trailing whitespace
* (test suite): Don't assume lists set up in newlist test cases
* (docker): Pull in missing fedoradev xvfb-run which dependency
* mr: Avoid stderr trash and test suite failure if man is N/A
* (test suite): Fix mmsitepass completion test
* tshark -G: Avoid stderr noise when running as superuser
* (docker): Run completion tests with xvfb-run, e.g. for gkrellm
* ssh-keygen: Make option parsing work with OpenSSH < 7
* synclient, udevadm: Avoid use of posix char classes for awk
* test suite: Add WIP Fedora dev config
* Travis: Switch tests to docker, update to Ubuntu 14
* xv: Associate with *.j2c, *.j2k, *.jp2, *.jpf, and *.jpg2 (Debian:
#859774)
* eog: Associate with *.j2c and *.jpg2
* Bump copyright years
* xine etc: Associate uppercase *.WM[AV]
* mplayer: Associate *.weba (#112)
* xine etc: Associate *.webm and *.weba (#112)
-- Ville Skyttä <ville.skytta@iki.fi> Tue, 27 Jun 2017 12:29:33 +0300
bash-completion (2.5)
[ BartDeWaal ]
* Support for python gui source files (#91)
[ Ben Webber ]
* mr: New completion
[ Christian Kujau ]
* ssh-keygen: support ed25519 keys (#79)
[ Dara Adib ]
* Add sidedoor to _ssh() completion (#106)
[ George Kola ]
* .ipa is just a zip file and we should let unzip handle it (#71)
[ Miroslav Šustek ]
* ant: parse targets in imported buildfiles (#84)
[ Reuben Thomas ]
* Add more tests for ccache
* ccache: fix completing compiler's flags
[ Ville Skyttä ]
* test suite: Add java/javac non-completion fixture
* javac: Complete -cp like -classpath
* travis: Skip bluez and nis for now due to post-install script
issues
* test/config/*: Delete trailing whitespace
* (test suite): Avoid loading user's ~/.bash_completion, fixes #87
* ip: Recognize a as alias for address and l for link
* ip: Recognize address in addition to addr
* mr: Disable "clean" test case, command N/A before mr 1.20141023
* ssh-keygen: Parse switches with _parse_usage, not _parse_help
* mplayer: Associate with *.mjpg, *.mjpeg (Debian: #837779)
* dd: Sync completions with coreutils 8.24
* travis: Add mr
* perl: Remove full path to cat in PERLDOC_PAGER call
* deja-dup: New completion
* CONTRIBUTING: Reorder sections
* *: Move indentation settings to .editorconfig
* make: Declare _make_target_extract_script like other functions
* Travis: zopfli is AWOL?
* *: Whitespace fixes
[ Zearin ]
* Minor edits to README.md (mostly formatting) (#110)
[ l3nticular ]
* Fix bug in 'make' completion when using BSD sed (#108)
[ osu ]
* Add support for Include in ssh config (#70) (#80)
-- Ville Skyttä <ville.skytta@iki.fi> Sat, 04 Feb 2017 18:07:27 +0200
bash-completion (2.4)
[ Arash Esbati ]
* xetex, xelatex, luatex, lualatex: Associate with tex files
[ Gene Pavlovsky ]
* Use shell globbing instead of ls to source files in compat dir
[ Grisha Levit ]
* Support completing array variables and expansions
* Add tests for declare/typeset
* Better handling of typeset/declare
[ Kylie McClain ]
* tar: silence --version's stderr output
[ Paul M. Lambert ]
* Support pod document files for perldoc (#39)
[ Richard Alpe ]
* tipc: fix missing last char in link name completion
* tipc: handle complete words without trailing space
* tipc: suppress tipc error messages
* tipc: use double brackets in if conditions
* tipc: make loop variables local
* tipc: remove unnecessary return values
* tipc: readd call to complete command
* tipc: use cur variable for flag completion
* tipc: add command prefix to link sed
* tipc: remove unnecessary function _tipc_get_val()
* tipc: use bash here string instead of echo
* tipc: merge functions into main
* tipc: add test framework
* tipc: add tipc completions
[ Ville Skyttä ]
* Release 2.4
* rpm: Offer --filetriggers with -q
* javadoc: Add bunch of option arg (non)completions
* lrzip: Add -m arg noncompletion
* pkg-get: Don't use hyphens in function names
* jarsigner: Add some option arg (non)completions
* pkg-get,pkgrm: Drop unnecessary _have calls
* *: Trivial cleanups
* *: Remove redundant return 0's
* pypy*: Add basic --jit arg completion
* pypy3: Alias to python
* hcitool,svcadm,tar: Spelling fixes
* Travis: Install more packages for more test coverage
* (test suite): Pass assert_complete_any for exact/only given arg
completed
* tipc: Invoke ls with "command"
* tipc: Indentation fix
* (test suite): Fix fallout from
fec077d555f112b9f455c45860f90a3b47392fcf
* (test suite): Remove Bash::Completion.3pm.gz from git, create on
the fly
* (test suite): Remove test/fixtures/_filedir/a"b from git, create
on the fly
* CONTRIBUTING: Note patch preferences if not using GitHub pull
requests
* python: Support -Q and -W arg completion without space
* apache2ctl, aspell, make: Don't hardcode completion generator
command
* mysql: Avoid --default-character-set error with failglob, fixes
#46
* test suite: Add perldoc module+pod completion test case
* perl: Remove some duplicated code
* pushd: Use _cd completion for CDPATH support, closes #38
* test suite: Add basic pushd test case
* abook: Parse long options from command including full path
* pyvenv: New completion
* chroot: New (generic long options) completion, see #38
* Travis: First steps toward testing with OS X
* test suite: Add bashcomp_bash env var for better control on tested
bash
* aptitude: List packages using _apt_cache_packages, fixes #33
* vncviewer: Cleanup shopt use, drop an eval
* make: Avoid a grep
* rpm: Fix --whatenhances arg completion
* aspell, minicom, mysql: Replace use of ls with printf
* cppcheck: Complete filenames too for --platform
* man: Prioritize MANPATH, simplify, add fallback e.g. for busybox,
fixes #28
* aclocal: Install completion for 1.14 and 1.15, fixes #25
* mpv: Don't install symlink for it, fixes #24
* test suite: Add function and declare test cases
* CONTRIBUTING: Highlight request for test cases
[ Wayne Scott ]
* The BitKeeper completion used the wrong set of commands
-- Ville Skyttä <ville.skytta@iki.fi> Fri, 12 Aug 2016 22:43:27 +0300
bash-completion (2.3)
[ Daniel Milde ]
* Completion for python zip archives
[ Liuhua Wang ]
* lvm: pvcreate should be able to use all block devcices
* lvm: fix all commands that should get all PVs
[ Ville Skyttä ]
* Release 2.3
* make-changelog: Don't output "Merge pull request" entries
* make: Use <<< instead of printf + pipe
* gnokii: Use <<< instead of echo + pipe
* *: Use [:blank:] instead of $'\t ' tricks where appropriate, fixes
#19
* test suite: Fix abook test case
* test suite: Don't insist on property completions if synclient -l
fails
* test suite: Tolerate "See 'man feh'" feh --help output
* test suite: Fix tar failure caused by previous tar change
* tar: Detect GNU/other from --version only once per session
* tar: Remove unused variable
* tar: Fix GNU tar help output parsing regex, fixes #15
* test suite: Add tar xvf filename test case
* tar: Don't write to /tmp/jetel
* python: Simplify code
* python: Complete all files also after -m
* python: Don't offer options after -c
* python: Complete all files only if -c is before current word
* test suite: Add some python test cases
* unzip, zipinfo: Complete on *.pyz
* travis: configure and run completions syntax check
* make check: Test syntax of all completion files
* CONTRIBUTING.md: Ask for test cases
-- Ville Skyttä <ville.skytta@iki.fi> Mon, 28 Mar 2016 18:32:47 +0300
bash-completion (2.2)
[ Barry Warsaw ]
* _init_completion: Handle cword < 0 (LP: #1289597)
[ Damien Nadé ]
* (testsuite) Use 'set' command posix behaviour when saving env
(Alioth: #314720)
* Added test/site.{bak,exp} to .gitignore
* _parse_help: Fix failglob failures (Alioth: #314707)
* _lvm: using a single-pattern case and invoking function according
to words[1]
* lvm: _lvm_count_args parameter must be quoted in order to failglob
not to complain
* gendiff: Quoting suffix pattern to avoid triggering failglob
[ Dams Nadé ]
* ssh-add, ssh-keygen: -? needs to be quoted under failglob (Alioth:
#314709)
* Quote unset array element to avoid globbing interference (Alioth:
#314708)
[ David Paleino ]
* Refactor bts and uscan, since they use common functions
* uscan: New completion, thanks to Federico Ceratto
* bts: New completion, thanks to Federico Ceratto.
[ Guillaume Rousse ]
* complete on freerdp-specific known hosts list
* nmcli completion was integrated upstream
[ Igor Murzov ]
* isql: Fix failglob failure
* ssh-add, ssh-keygen: -? needs to be quoted under failglob (take 2)
(Alioth: #314709)
* (testsuite): move testing of _linux_fstab() to umount.exp
* umount: Fix mount points escaping/unescaping with Bash-4.3
* slapt-src: Handle --config=FILE option properly
* sbopkg, slapt-{get,src}: expand tilde in config file name
* slapt-{get,src}: Fix issue with sed not being able to handle some
characters
* slapt-src: split options from their arguments
* Quote _filedir arguments when appropriate to prevent failglob
failures
* psql: Tell psql to not load .psqlrc as it may change output format
(Alioth: #314636)
* testsuite: Add basic tests for portsnap and freebsd-update
* mplayer: -dvd-devices takes dvd devices, dirs and .iso files as
argument
* 7z: Improve completion
* f77, f95: Use the same completion as for g77, g95 if they are
links to gfortran
* aptitude: safe-upgrade accepts package name as parameters (Alioth:
#313638, Debian: 673235)
* _longopt: Run commands in C locale.
* make: Use only posix basic regexps with sed (Alioth: #314345)
* cppcheck: Add new --enable option argument and --library argument
completion
* dpkg: Suppress unwanted error messages (Debian: #706502)
* perl: -d/-dt option argument is optional (Alioth: #314242)
* Add config for cmake to bash-completion.
* kcov: Add new sort types, complete --replace-src-path arguments
* feh: Add new sort type
[ Mathieu Parent ]
* Puppet: describe: update options list, accordind to 'puppet help
describe'
* Puppet: cert: update options list, accordind to 'puppet help cert'
* Puppet: apply: update options list, accordind to 'puppet help
apply'
* Puppet: agent: update options list, accordind to 'puppet help
agent'
* Puppet: puppet parser support
* Puppet: puppet -* doesn't imply 'puppet apply'
* Puppet: use puppet terminology
[ Matthew Gamble ]
* Modify all usages of 'sed' to be run with command bash builtin
* Use command built-in to run sed to avoid any custom aliases
[ Matthieu Crapet ]
* man: Use -w instead of --path
[ Michael Gold ]
* profile.d: Avoid some warnings from shells in "nounset" mode
(Debian: #776160)
[ Miroslav Lichvar ]
* chronyc: Update help text parsing
* chronyc: Add missing subcommands
* chronyc: Add -6 option
[ Nevo Hed ]
* minicom: Recognize user ~/.minirc.* as config files
[ Ondrej Oprala ]
* __get_cword: avoid $index < 0 (Alioth: #315107)
[ Patrick Monnerat ]
* rpmbuild: Complete *.spec on --clean (RedHat: #1132959)
[ Pavel Raiskup ]
* tar: rework the completion completely
[ Peter Cordes ]
* upstart support for service completion
[ Peter Dave Hello ]
* freebsd-update: New completion.
* portsnap: New completion.
[ Peter Wu ]
* modprobe: fix params with multi-line descriptions
* gdb: support --args style completion (Alioth: #314664)
[ Rainer Müller ]
* make: Fix basic regex for portability (Alioth: #314345)
[ Raphaël Droz ]
* gnokii: New completion
[ Rune Schjellerup Philosof (Olberd) ]
* dpkg: Add support in dpkg completion for .ddeb (LP: #568404)
[ Shaun McCance ]
* xmllint, xmlwf, xsltproc: Complete on Mallard *.page files
[ Stefano Rivera ]
* pypy: New completion identical to python (Alioth: #314501)
[ Thilo Six ]
* Use more straightforward way to check bash version
* _mac_addresses: Use explicit C locale for ifconfig (Debian:
#704832).
[ Tristan Wibberley ]
* make: Don't pick up variables when makefile is reloaded
* make: Offer hidden targets when it is clear that the user is
trying to complete one of them
* make: Fix detection of intermediate targets where make has changed
its database whitespace
* make: Add __BASH_MAKE_COMPLETION__ variable
* make: completion shouldn't be confused by the output of $(info
confuse: make)
[ Uwe Kleine-König ]
* Don't complete hostnames found after Hostname in ~/.ssh/config
[ Ville Skyttä ]
* Release 2.2
* README.md: Note autoreconf need only in unprepared tarball
* make-changelog.py: Set myself in footer
* make-changelog.py: Fix footer line output
* make-changelog.py: flake8 fixes
* make-changelog.py: Make work with Python 3
* README.md: More markdown tweaks
* README.md: Markdown tweaks
* zopflipng: New completion
* README.md: Not need for autoreconf, fixes #11
* README: Expand troubleshooting section somewhat
* Merge pull request #9 from shaunix/master
* ssh: Extract duplicate code to _ssh_configfile
* Remove various comments related to bash versions we don't support
* travis: Install more packages for [xyz]* test coverage
* travis: Install more packages for [stuvw]* test coverage
* travis: Install more packages for [qr]* test coverage
* travis: Install more packages for [op]* test coverage
* travis: Install more packages for m* test coverage
* travis: Install more packages for [jkl]* test coverage
* Merge pull request #7 from ukleinek/master
* indent: Remove generic long option completion
* Update copyright year
* travis: Install more packages for [hi]* test coverage
* travis: Install more packages for [fg]* test coverage
* mysql: Fix --default-character-set completion with mariadb
* mysql, puppet: sed portability fixes
* gnokii, minicom: Use grep through "command"
* lint: Check for sed without "command"
* Merge pull request #2 from djmattyg007/avoid_sed_alias
* travis: Install more packages for [de]* test coverage
* travis: Install more packages for c* test coverage
* travis: Add note about (currently) N/A packages
* test suite: Mark unsupported look test case as such, not
unresolved
* test suite: Use unsupported instead of xfail for modinfo/modprobe
cases
* travis: Install more packages for [0-9][ab]* test coverage
* travis: Run tests with --all to get some more useful output
* test suite: Fix ssh partial hostname completion test
* README: Split contributing to separate CONTRIBUTING doc
* README: Convert to markdown
* Drop references to bash-completion-devel@lists.alioth.debian.org
* build system: Switch to xz compressed tarball
* aclocal, automake: Install for versioned 1.14 and 1.15 executables
* Update URLs and various instructions to GitHub
* README: Update POSIX spec link
* travis: Avoid Travis default ri, use distro one instead
* test suite: Make apt-get test less sensitive to available commands
* test suite: Output tool log on failure in CI
* Set up Travis
* test suite: Expect failure in modinfo/modprobe if there are no
modules
* test suite: Fix ssh-copy-id test on old setups with no identities
* cppcheck: Add native to --platform completions
* ssh: Avoid completing commands before hostname
* chronyc: Parse command args from help output
* chronyc: Wrap long lines
* Load completions also from $XDG_DATA_DIRS (RedHat: #1264094)
* (testsuite) Ignore files generated by complete-ant-cmd.pl
* scp, sftp: Complete -S on commands
* scp, sftp: Fix querying ssh options
* sftp: Add -l arg non-completion
* ssh-copy-id: Offer only *.pub to -i
* mpv: Remove mplayer-aliased completion
* __load_completion: New function, use in _completion_loader and
_xfunc
* modplug*: Associate *.oct and *.okt
* rpm: Add --whatenhances/recommends/suggests/supplements and
--recommends/supplements completions
* pgrep, pidof, pkill, pwdx, vmstat: Add support for procps-ng
* pdftotext: New completion
* checksec: New completion
* ssh: Complete HostbasedKeyTypes,HostKeyAlgorithms,KexAlgorithms
values
* ssh: Query ciphers and macs from ssh before hardcoded fallback
* ssh: Add -Q argument completion
* sysctl: Return early on --help, --version
* sysctl: Try parsing options from help before usage
* Document how to avoid command_not_found_handler interference
* eog: Complete on *.ppm (RedHat: #1090481)
* tar: Plug $line var leak
* tar: Style tweaks
* (testsuite) Add required "empty" dir for tar
* bsdtar, tar: Remove symlinks from git, have make create them
* jshint: New completion
* gnokii: Include and install it
* gnokii: Fix completions of options that are prefixes for others
* gnokii: Drop dead code
* (testsuite): Add basic gnokii test case
* gnokii: Various minor and cosmetic fixes
* _filedir: Avoid some unnecessary work with -d
* _filedir: Remove unused variable
* _filedir: Fix overquoted argument to compgen -d (RedHat: #1171396)
* 2015
* Load user completions from $BASH_COMPLETION_USER_DIR/completions
* Revert "README: Don't hardcode /etc in cmake fallback dir"
* README: Don't hardcode /etc in cmake fallback dir
* README: Add cmake usage example
* README: Add autotools and cmake tips
* Drop reference to no longer used sysconf_DATA
* synclient: New completion
* tune2fs: Add missing return in -M arg completion
* reptyr: Rename file to _reptyr to avoid conflict with upstreamed
completion
* cppcheck: Option argument (non-)completion update
* dropuser: New completion
* createuser: New completion
* createdb, dropdb: Drop -o default, it does not appear to do
anything good here
* tshark: Simplify cut usage
* mcrypt: Simplify -m arg completion
* (testsuite): Add mcrypt -a and -m argument completion tests
* strings: Fix -T/--target arg completion with non-English locale
* chrome, firefox etc: Complete on *.pdf
* ccache: Add -o/--set-config arg name completion
* gphoto2: Replace tail with awk
* *: Invoke command to be completed, not its basename
* gphoto2: Fix split argument handing, and colon treatment in --port
args
* _completion_loader: Protect compgen from -* leakage (Debian:
#769399)
* Actually install the lz4 completion
* _pnames: Add -s for producing (possibly) truncated names (RedHat:
#744406)
* (testsuite) Add cd in dir without subdirs or CDPATH test case
* Protect various compgen invocations from -* leakage (Debian:
#766163)
* pigz, unpigz: Handle *.zz
* _completion_loader: Set empty command to _EmptycmD_ for cross
version compat
* Comment update
* rpmbuild: Complete *.spec on --nobuild
* mplayer, *xine: Complete on *.mts (Debian: #759219)
* ant: Support buildfile set in $ANT_ARGS (Alioth: #314735)
* (testsuite) Add ant -f <buildfile> test case
* ant: Don't offer more completions after options that exit
* 7z, adb: Trivial cleanups
* python(3): Add -X argument non-completion
* xsltproc. TODO fix for previous commit
* xmllint, xmlwf, xsltproc: Complete on *.dbk and *.docbook (Alioth:
#314770)
* xz: Complete -T/--threads argument
* (testsuite) Save shell variables when saving env (Alioth: #314720)
* adb: New completion
* modprobe: Try parsing help before using hardcoding option list
* (testsuite) Add vgcreate test case for _lvm_count_args with
failglob on
* _filedir_xspec: Fix with failglob on
* Various mostly array element unsetting fixes under failglob
* __reassemble_comp_words_by_ref: Make work with failglob on
(Alioth: #312741)
* _services: README in sysv init dir is not a service
* mpv: New completion alias + adjustments for mplayer (Debian:
#749115)
* (testsuite) Add puppet subcommand option test case
* puppet: Recognize some short options
* puppet: Parse most subcommand options from "help subcommand"
output
* puppet: Exit early on -h|-V|--version in addition to --help
* hostname: New completion
* nslookup: complete on hosts (Alioth: #314673)
* eog: Complete on *.pgm (RedHat: #1090481)
* pngfix: New completion
* qemu: Fix -balloon arg completion
* qemu: Apply completion to qemu-kvm/-system-i386/-system-x86_64 too
* xrandr: Use the invoked command internally, not hardcoded "xrandr"
* xrandr: Add (some) --setprovider* arg completion support
* profile.d: Don't return from a sourced script (Debian: #741657)
* FAQ: Clarify that we mean the bash man page for M-/
* (testsuite) Avoid complete-ant-cmd.pl errors with our build.xml
* ri: Fix class completion with ri >= 3.
* ri: Fix colon handling in class completion.
* flake8: New completion
* pyflakes: New completion
* cal,chfn,chsh,dmesg,eject,hexdump,look,newgrp,renice,runuser,su,wr
ite: Deprecate on Linux in favor of util-linux ones (Debian:
#737672)
* testsuite: Add basic newgrp test case
* testsuite: Add basic test cases for deprecated completions
* _*: Install our deprecated completions too, try loading them
secondarily
* hwclock,ionice,rtcwake: Deprecate in favor of util-linux ones
(Debian: #737672)
* ssh-keygen: New completion
* Bump copyright years to 2014.
* jpegoptim: New completion
* ip: Add some addr, addrlabel, and route arg completions
* aptitude, dpkg: Replace some grep+cuts with awk
* gcc, lintian, make, pkgadd, slackpkg: grep -> "command grep"
(Debian: #734095)
* lintian: Replace some grep+cuts with awk
* (testsuite) Check for grep and ls invoked without "command", see
README
* lz4: New completion.
* optipng: New completion.
* cppcheck: Include - in --file-list completions.
* (testsuite): Limit wtf completions to A* to keep expect happier.
* wtf: Look for acronym db from /usr/share/games/bsdgames/acronyms
too.
* wtf: Don't offer -f if it was already specified.
* wtf: Hush stderr when db file doesn't exist.
* appdata-validate: New completion.
* timeout: New completion.
* _known_hosts_real: Exclude %h HostName entries (RedHat: #1015935).
* cc, c++: Check path to binary when finding out if it's gcc
(Alioth: #314417).
* cc, c++: Install minimal completion for non-gcc ones (Alioth:
#314417).
* abook, kldunload: Pre-expand \t instead of relying on sed
supporting it.
* dict: Trivial regex cleanup.
* _known_hosts_real: Pre-expand \t instead of relying on sed
supporting it (Alioth: #314393).
* zopfli: New completion.
* bzip2, gzip, lzma: Cleanups.
* Cosmetics.
* export, _variables: Do TZ= completion (Redhat: #994646).
* 2to3: New completion.
* file-roller: Reuse unzip's xspec.
* 7z: New completion.
* hcitool, rfcomm, ciptool, hciconfig: Don't leak $args.
* perl: Fix -dt: completion.
* perl*: Fix handling of relative paths in @INC.
* wget: Add --accept-regex/--reject-regex/--regex-type arg
(non)completions.
* wget: Drop incorrect -nv arg completion.
* wget: Stop completing after --help/--version.
* Clean up/compact various globs.
* cvs: Fix checkout -j non-completion.
* sh: Complete script arguments with all filenames (Alioth:
#314226).
* nmcli: Deprecate our completion, upstream has one in 0.9.8.0.
* Revert "nmcli completion was integrated upstream"
* Use == instead of =.
* cvs rm: Don't filter existing files with -f (RedHat: #949479).
* aclocal, automake: Install for *-1.10, *-1.12, and *-1.13 too.
-- Ville Skyttä <ville.skytta@iki.fi> Thu, 03 Mar 2016 17:22:50 +0200
bash-completion (2.1)
[ AllKind ]
* Fix __ltrim_colon_completions() fail on parameter (\$1) containing
a glob.
[ Andreas Müller ]
* completions/Makefile.am: symlinks depends on $(DATA) to avoid race
conditions
[ Christian von Roques ]
* Fix __reassemble_comp_words_by_ref for $COMP_CWORD == ${#COMP_WORDS[@]}
[ David Paleino ]
* Fix helper script to create changelogs
[ Guillaume Rousse ]
* New completions: nmcli, gphoto2
* Improved completions:
- dsniff: add -p option completion
- dsniff: fix interface completion
[ Igor Murzov ]
* _command_offset: Restore compopts properly (Alioth: #313890)
* _parse_help, _parse_usage: Run commands in C locale.
* New completions: wget, zathura
* Improved completions:
- cppcheck: Add new standards to --std option.
- evince: Evince supports opening .pdf.xz files (Alioth: #313739).
- feh: Add new options introduced in feh-2.7.
- feh: Fix list of background styles.
- fusermount: Complete curlftpfs-mounts for "fusermount -u" (Debian:
#685377)
- kcov: Add new sort types (introduced in kcov-9).
- kcov: Complete arguments of --limits option.
- lvm: Fix typo in option name: s/continguous/contiguous/.
- make: Do not append space if target is a filepath.
- mount: Fix parsing /etc/fstab on *BSD.
- mount.linux: Add some new mount options intoduced in Linux 3.5 and 3.7
- mount.linux: Add options completion for nfs and davfs.
- mount.linux: Clean up mount options, remove duplicates.
- mplayer: Add opus to the list of supported formats.
- mplayer: Add -subcp argument completion.
- opera: Handle options.
- slackpkg, slapt-get: Update the list of package sets.
- tar: Fix detection if the $prev is a tar file.
- valgrind: Add --soname-synonyms option arguments completion.
* Testsuite:
- _filedir: Remove the cruft from the a\$b->h unit test (Alioth: #313480)
[ Jeroen Hoek ]
* Improved completions:
- unzip: Add support for OpenDocument formats.
[ Ken Sharp ]
* Improved completions:
- wine: add .msi completion
[ Martin Ueding ]
* Stylistic cleanup
[ Tristan Wibberley ]
* Improved completions:
- make: incremental completion for make with compact display
- make: convert make completion to use smarter parser
[ Ville Skyttä ]
* Avoid sourcing dirs in completion loader to avoid fd leaks (RedHat: #903540)
* Ignore colormake symlink.
* Line continuation, whitespace, and compgen -W ... -- "$cur"
quoting cleanups.
* _available_interfaces: Try with "ip link" if ifconfig is not available.
* _ip_addresses: Try with "ip addr" if ifconfig is not available.
* _known_hosts_real: Filter ruptime stdout error spewage (Alioth: #313893).
* _mac_addresses: Try local interfaces with "ip link" if ifconfig not
available.
* _mac_addresses: Try ARP cache with "ip neigh" if arp is not available.
* _mac_addresses: Fix with net-tools' ifconfig that outputs ether, not HWaddr.
* New completions: chronyc, eject, eog, file-roller, hexdump, interdiff, lua,
luac, luseradd, luserdel, lusermod, mussh, nc, ngrep, patch, pydoc,
pyflakes, pylint, ss, strings, tshark, wsimport, xxd
* Improved completions:
- acpi, chpasswd, dmesg, gkrellm, groupmems, hwclock, lastlog, pwd, vipw:
Complete options even without "-" given.
- arpspoof, dsniff, ether-wake, nmap: Offer active interfaces only.
- clzip, pdlzip, plzip: New lzip alias completions.
- colormake: New make alias completion (LP: #743208, Debian: #682557)
- cpio: Recognize pass thru when -p is bundled w/other options
(RedHat: #912113).
- cppcheck: Add --language/-x argument completion.
- cppcheck: Complete --include= with filenames.
- dnsspoof, filesnarf, macof, sshow, tcpkill, tcpnice, urlsnarf: Fix -i
completion.
- genisoimage: Use _parse_help instead of hardcoding options, add basic test
case.
- groupmems: Add -R/--root arg completion.
- hexdump: Actually install for hd as well.
- host: Complete with known hosts.
- ip: Improve addr show and link show completions.
- ip: Remove some stale TODOs.
- jar: Reuse unzip's xspec (RedHat: #928253).
- koji: Complete on build targets when --target is given to wait-repo.
- lv{create,resize,extend}, vg{create,reduce,extend,split}: Fix variable
leaks.
- lvm: Add _lvm prefix to helper functions.
- lvm: Take option args into account when counting args (RedHat: #860510).
- lvm volumes: Complete on /dev/mapper/* (RedHat: #851787).
- lzip: Do not append space after equal sign in long options.
- make: Convert internal variable names to lowercase, indentation fix.
- make: Don't leak $mode.
- make: Make work in POSIX mode.
- man: Add support for .lz man pages (RedHat: #839310).
- man: Don't expand man page extensions too early.
- man: Fix -P/--pager full path arg completion.
- modinfo: Use ,, for lowercasing instead of tr in a subshell.
- modprobe: Don't suggest installing already installed modules.
- ncftp: Add option completion.
- pkg-config: Try to complete --variable= if package name is already given.
- pydoc: Complete on keywords and topics.
- python, pydoc: Add module completion.
- scp: Treat strings with slash before colon or starting with [.~] as local.
- ssh: Add some -o and related arg completions.
- ssh: Add -O argument completion (Debian: #680652).
- tar: Don't take -I to mean bzip2.
- tar: Fix completing files inside *.tlz when J is explicitly given.
- tar: Simplify bzip patterns.
- tar: Support *.tar.lz (Debian: #703599).
- tar: Recognize taz and tb2 as compressed tarballs.
- tcpdump: Fix -z full path arg completion.
- unzip/zipinfo: Associate with more StarOffice extensions.
- useradd, userdel, usermod: Add -R/--root arg completion.
- useradd, usermod: Support comma separated -G/--groups arg completion.
- useradd: Fix -k, -K, and --home-dir argument completions.
- userdel: Add -h/--help non-completion.
- valgrind: Fix full path <command> arg completion.
- vgcreate: Add missing symlink.
- vipw: Add -R/--root arg completion.
- vpnc: Add bunch of option arg (non)completions.
- vpnc: Use _parse_help instead of hardcoding options, add basic test case.
- wget: Use == instead of =.
- wine: Fix extension glob to work on its own.
- wol: Try "ip addr" before ifconfig for finding out broadcast addresses.
- xrandr: Add bunch of option arg non-completions.
- xrandr: Use _parse_help.
- xrandr --mode: Clean up one awk call.
- xrandr: Avoid --mode completion error when --output is not given.
- xrandr: Don't leak $i when completing --mode.
* Deprecated completions:
- udevadm: one is shipped in systemd >= 196 (RedHat: #919246).
* Testsuite:
- Make pydoc test more likely to work with our limited expect buffer size.
- Fix pwd unit test
[ Yann Rouillard ]
* New completions: pkgutil, pkgrm, pkgadd, pkg-get, svcadm.
[ wonder.mice ]
* Fixed tilde expanding in _filedir_xspec
-- David Paleino <d.paleino@gmail.com> Fri, 05 Apr 2013 12:05:15 +0200
bash-completion (2.0)
[ Anthony Ramine ]
* Properly declare 'symlinks' dependencies
[ David Paleino ]
* apt-get: add 'changelog' to completed commands
[ Guillaume Rousse ]
* Add xz compression extension for kernel modules
[ Igor Murzov ]
* sudo: Handle options (Alioth: #311414).
* sudoedit: New completion.
* _command_offset: Properly quote arguments of eval (Alioth:
#313499).
* mount.linux: Add some new mount options intoduced in Linux 3.0-3.2
* _modules: Ignore error messages.
* modprobe, modinfo, insmod: Move modprobe and modinfo completions
to their own files.
* sbopkg: Use _parse_help.
* sbopkg, slackpkg, slapt-{get,src}: Use shorter form of the check
if file exists.
* _filedir: Properly quote paths to avoid unexpected expansion.
* su: Add linux-specific completion
* insmod, modprobe: Don't hardcode path to modinfo (Alioth: #313569)
* man: --path option is supported on Darwin (Alioth: #313584)
* man: Move variable declaration to the right place.
* feh: Update option argument completions.
* fbi, feh: Complete more supported file formats.
* fbgs: Add new options introduced in fbida-2.09.
* cppcheck: Complete new --relative-paths option arguments
* _expand: Suppress unwanted bash error messages (Alioth: #313497)
[ Itaï BEN YAACOV ]
* scp: Recognise symlinks to directories as directories (Debian:
#666055).
[ Jonathan Nieder ]
* ri: Rename ri_get_methods helper to add leading underscore
[ Ville Skyttä ]
* rmmod: Add option completions.
* testsuite/generate: Generate less linefeeds.
* insmod: Install for insmod.static too.
* mplayer: Add -monitoraspect arg completion.
* mplayer: Add generic handling of options that take arguments.
* testsuite: Fix spurious modinfo and modprobe test failures on
systems that have /lib and /lib64 dirs.
* pigz: Add -p/--processes arg completion.
* testsuite: Add basic su test case.
* su: Fix long option handling.
* su: Add --session-command arg completion.
* su: Complete -s/--shell with shells instead of all files.
* lyx: Remove simple completion, upstream has more complete one
(Debian: #662203)
* testsuite/generate: Tweak linefeeds.
* make: Add generic variable completion.
* man: Recognize 3gl as man page filename extension -- at least Mesa
uses it.
* _realcommand: Try greadlink before readlink (Alioth: #313659).
* Comment spelling fix.
* qiv: Add *.svg.
* xmllint: Add *.svgz.
* autotools: Use MKDIR_P instead of mkdir_p (Alioth: #313671).
* lbzip2: Add -n argument completion.
* *_tilde*: Escape tilde in [[ $1 == \~* ]] tests (RedHat: #817902).
* New completions:
- acpi, hwclock, pwd, ssh-add, vmstat
[ Sung Pae ]
* Workaround bash bug that fails to complete <, >
-- David Paleino <d.paleino@gmail.com> Sun, 17 Jun 2012 20:01:36 +0200
bash-completion (1.99)
* Hopefully the last 2.0 preview.
[ David Paleino ]
* Correctly list purgeable packages for dpkg --listfiles and dpkg
--purge (Debian: #647684)
* Fix bash_completion paths in README (Debian: #647941)
[ Florian Hubold ]
* xv: Add *.eps and *.ps to filename completions (Alioth: #313477)
[ Igor Murzov ]
* Add and use _sysvdirs() function that sets correct SysV init
directory.
* cppcheck: Add new options introduced in cppcheck-1.52.
* cppcheck: Several ids separated by commas can be given for
--enable=.
* _known_hosts_real: Add some quotes (Alioth #313158)
* Merge completions/service into the bash_completion script.
* _modules: Follow symlinks in /lib/modules/$(uname -r) (Alioth:
#313461)
* mount, umount: Add linux-specific completions.
* mount: Don't suggest short options.
* pidof: Don't check OS type (Alioth #311403)
* removepkg: Make it possible to complete filenames.
* umount: Fix for completion of relative paths.
* upgradepkg: Support oldpackage%newpackage notation.
* wine: Complete all files after an .exe (Alioth #313131)
* New completions:
- htop, nethogs.
[ Jan Kratochvil ]
* rpm: Treat -r as --root (RedHat: #759224).
[ Raphaël Droz ]
* Added a word about compopt -o nospace in styleguide.txt.
* _ip_addresses: Make it locale agnostic.
[ Ville Skyttä ]
* cc, c++: Install gcc completion if compiler looks like GCC
(Alioth: #311408).
* cppcheck: Offer header filename completions too.
* curl: Add bunch of new option argument completions.
* dequote: Use printf instead of echo (Alioth: #312163).
* dict: Speed up word completion with common use cases and large
word lists.
* dmesg: Adapt to versions returning long options.
* Document $split && return.
* _filedir, _tilde: Ignore compopt stderr for direct invocations in
unit tests.
* Include doc/ in dist tarball.
* _known_hosts_real: Handle more than two hostnames per known hosts
line (Debian: #647352).
* _known_hosts_real: Include hosts reported by ruptime (Alioth:
#313308).
* _known_hosts_real: Support > 1 files per *KnownHostsFile line
(Debian: #650514).
* lintian: Use <<< instead of echo and a pipe (Alioth: #312163).
* lrzip: -T no longer takes an argument since version 0.570.
* _mac_addresses: Grab addresses from FreeBSD's ifconfig -a output
too.
* make: Add -j/--jobs completion, complete up to number of CPUs * 2.
* _muttconffiles: Use printf instead of echo (Alioth: #312163).
* _parse_help, _parse_usage: If first arg is "-", read from stdin.
* rpm: Add --delsign completion, don't suggest --resign (identical
to --addsign).
* _variables: New function split from _init_completion.
* vi and friends: Fix /etc/ld.so.conf.d/* completion (Alioth: