forked from scop/bash-completion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGES
1702 lines (1533 loc) · 73.9 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.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ä <[email protected]> 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 [email protected]
* 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ä <[email protected]> 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 <[email protected]> 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 <[email protected]> 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:
#312409).
* New completions:
- plague-client, desktop-file-validate, valgrind, ccache, iperf,
koji, lzip, udevadm.
-- David Paleino <[email protected]> Sat, 07 Jan 2012 23:52:36 +0100
bash-completion (1.90)
* bash-completion 2 preview: dynamic loading of completions.
[ David Paleino ]
* If _filedir 'ext' returns nothing, just fallback to generic file
completion. It is optional, and off by default. Patch by Clint Byrum
(Debian: #619014, LP: #533985)
* Fix __get_cword_at_cursor_by_ref: check for $index when completing with a
cword+1 argument already present (Debian: #622383)
* Layout change: everything is now in /usr/share/bash-completion/, rather
than in /etc/.
* Get rid of BASH_COMPLETION_DIR, BASH_COMPLETION_HELPERS_DIR, BASH_COMPLETION
* Fix autotools to use pkgdatadir instead of redefining datadir, get rid of
helpersdir.
* Implemented a blacklist for unwanted third-parties completions
* New completions:
- epdfview, lpr and lpq (Raphaël Droz), mysql (Raphaël Droz)
* Improved completions:
- ant: handle "extension-point" the same as "target" tag (Petr Kozelka,
Alioth: #313105)
- apt: add 'download' to subcommands (Debian: #625234, Ubuntu: #720541)
- aptitude: add 'versions' command (Debian: #604393)
- dpkg-query: use the 'dpkg' completion (Debian: #642526)
- lintian: remove --unpack-level (Debian: #623680)
- {shadow,coreutils}: fix broken _allowed_groups usage
- rrdtool: complete filenames after commands (Debian: #577933)
- sitecopy: fixed a bug with grep and brackets: use sitecopy -v to fetch
sites (Raphaël Droz).
[ Freddy Vulto ]
* Improve __reassemble_comp_words_by_ref() (Alioth #313057)
* Testsuite:
- add -unsorted option to _get_hosts()
[ Guillaume Rousse ]
* Use $() for subshell, instead of backquotes
* Use simple quotes for constant strings
* Drop -o filenames, as suggested by Ville
* New completions: puppet
[ Igor Murzov ]
* Abort completion file loading earlier if required commands are not
available.
* docs: Improve tester's manual
* Make completions that use _command also work with file names
* _command_offset: Restore compopts used by called command.
* New completions:
- pkgtool, makepkg, rmp2tgz, slapt-get, slapt-src, slackpkg, kcov, feh,
xgamma, fbi, fbgs
* Improved completions:
- file: ddd few missing --exclude arguments completions
- host, nslookup: Remove completions for bind utils from bash_completion.
- {install,upgrade,explode}pkg: use -o plusdirs instead of -o dirnames
- makepkg: should complete filenames
- removepkg, upgradepkg, installpkg: add option completion
- xrandr: Add more option completions.
- overall clean up of different slackware-specific completions
* Testsuite:
- add basic tests for pkgtools, rpm2tgz, slapt, sbopkg, slackpkg
- fix broken tests for finger and xhost
- remove unused -expect-cmd-full option from assert_complete*
[ Sergey V ]
* New completions: sbopkg
[ Ville Skyttä ]
* Load completions in separate files dynamically, get rid of have()
* Drop unnecessary $USERLAND checks
* Try /usr/sbin before /sbin in have()
* Try both full path and basename completions for sudo etc (Alioth: #313065)
* Add _init_completion() for common completion initialization and generic
redirection handling
* Replace actual sysconfdir in bash_completion on install (Alioth: #313081)
* Drop support for bash < 4.1
* Drop no longer needed _compopt_o_filenames()
* Drop no longer needed "type compopt" checks
* docs: Update "simply sourcing" instructions to match new layout, check
$PS1.
* Get rid of bash_completion self-parsing from _filedir_xspec
(RedHat: #479936).
* Provide profile.d hook for per user disabling of bash_completion
(Debian: #593835)
* New completions:
- a2x, arping, asciidoc, base64, cal, chrpath, cppcheck, curl, dmesg,
dot, file, gnome-mplayer, gprof, hddtemp, host, htpasswd, idn, ionice,
jps, lbunzip2, lbzip2, lbzcat, prelink, protoc, pwdx, pwgen, reptyr,
sum (RedHat: #717341), watch
- phing: reuse ant completion (Elan Ruusamäe, Alioth: #312910)
- pinfo: reuse info completion
* Improved completions:
- bluez, e2fsprogs, grpck, java (Mattias Ulbrich), passwd, pwck, route,
rsync, smartctl
- ant: improve -lib, -find/-s, and -D argument completions; rewrite build
target parsing in plain bash, add build file test case
- aspell: add --add-filter|--rem-filter completions; get --mode completions
from 'aspell modes' output
- bzip2, gzip, python, sysbench: quote command argument to _parse_help()
- chsh: use _allowed_users instead of plain compgen -u
- cksfv: add -g argument completion
- cpan2dist: don't hang if no package list files exist
- crontab: use /sys/fs/selinux and /selinux instead of /etc/selinux to
find out if SELinux is around
- cvs: (diff) parse options from cvs diff instead of plain diff; drop -o
default to fix CVS root completions; (commit) complete on entries
instead of default if COMP_CVS_REMOTE is not set; improve CVS
controlled file completions; add CVS controlled file completions for
admin and update; list "primary" command names first in mode switch;
recognize some additional commands and synonyms; add editors/watchers
completion; sort mode completions alphabetically
- freeciv: complete freeciv-* in addition to civclient/civserver
- gdb: improve filename completion
- gendiff: do file completion after output redirection
- getent: add gshadow to known databases; allow multiple completions from
same db, add option completion
- info: add option completion support
- ipsec (Tobias Brunner): drop uname check, add strongSwan specific
completion with fallback, complete connection names for 'up', 'down' and
other commands
- jar: complete on *.sar (JBoss service archive)
- java, javac: add -X* completions
- javadoc: implement -linkoffline two argument completion
- killall: activate completion on Darwin (Alioth: #312350)
- (la)tex (Ted Pavlic): add *.dbj to filename completions (RedHat: #678122)
- man: add option parsing and completion
- modplug*: add more extensions for files supported by libmodplug
- mutt: support tildes when recursively sourcing muttrc files
(Debian: #615134); expand tilde in mutt query command (Alioth: #312759)
- ntpdate: add some option argument (non)completions
- oo{writer,impress,calc,draw} (Matej Cepl): complete on LibreOffice
FlatXML extensions (RedHat: #692548)
- perldoc (Scott Bronson): override MANPAGER when generating perldoc
completions (RedHat: #689180); don't parse man page when we know it'll
produce no completions; use perldoc itself instead of man
- pgrep: add option and option argument completions
- rpm: make rpm --queryformat use more consistent; drop rpm query support
for rpm < 4.1
- rpmbuild: add --buildpolicy completion
- rpmcheck: drop reference to undefined $files variable (Alioth: #313270)
- screen: add _terms() and -T completion; add commands completion
(Alioth: #312164, RedHat: #547852)
- _services: avoid bogus completions when init or xinetd dirs exist but are
empty; include systemd services
- smartctl: fix short alternative for --tolerance
- ssh, scp, sftp, ssh-copy-id: add some option argument (non)completions
- strace: don't append space for -e *= completions; don't try to extract
syscall names if they're not going to be used; rewrite arch specific
syscall extraction in plain bash
- svn*: don't suggest short options
- tar: fix completion of files inside *.tar.bz2 archives when [Ijy] is not
given; added option completions; improve tar *[cr]*f completions
(Debian: #618734)
- unzip: complete on *.sar (JBoss service archive)
- xmllint, xmlwf: complete on *.tld (tag library descriptor)
- xmlwf: add -v non-completion
- xmms: add some option argument completions
- xz: apply xz completion to pxz too; non-complete
--memlimit{,-compress,-decompress}
* Testsuite:
- add basic tests for gendiff, mdadm, puppet, xzdec, mii-diag, mii-tool,
grpck, passwd, pwck, samba, rdesktop, fusermount, tcpdump, l2ping,
ssh-copy-id, postfix, qemu, ldap*, medusa, mdtool, monodevelop,
msynctool, cfagent, lpr, lpq, mysql, nslookup, compare, conjure,
import, stream
- fix tests for ri
- fix get_hosts option docs.
- add test case for Debian: #622383.
- add chown foo: and :foo test cases, should complete files
(RedHat: #710714)
-- David Paleino <[email protected]> Thu, 03 Nov 2011 09:53:55 +0000
bash-completion (1.3)
[ Guillaume Rousse ]
* added pure-perl perldoc completion helper, using work from Aristotle
Pagaltzis ([email protected])
* added completions for xfreerdp and iscsiadm
* updated xm subcommands list
[ David Paleino ]
* Fixed "service" completion, thanks to John Hedges (Debian: #586210)
* Complete on all files for mplayer's -dvd-device
* Fixed typo in openssl completion (Debian: #609552)
[ Ville Skyttä ]
* Activate hping2 completion also for hping and hping3.
* Add badblocks, compgen, crontab, dumpe2fs, e2freefrag, e2label, ether-wake,
filefrag, gendiff, growisofs, iftop, ip (Debian: #600617), javaws, kid3,
lrzip, lsof, mktemp, portecle, POSIX sh, sha{,224,256,384,512}sum,
sysbench, tune2fs, xmodmap, and xrdb completions.
* Add *.gif (Alioth: #312512), *.m2t (Alioth: #312770), *.3gpp, *.3gpp2,
*.awb, and *.iso (Alioth: #311420) to mplayer filename completions.
* Add "short" tarball extensions to unxz, unlzma etc completions.
* Improve /etc/init.d/*, ipmitool, jar, java, javadoc, man, mencoder, mkdir,
mplayer, pack200, povray, python, rpmbuild, sqlite3, tar, wodim, and
general help parsing completions.
* Fix p4 and povray completions (Alioth: #312625).
* Add *.xsd, *.xsl, *.rng, *.wsdl, and *.jnlp to xmllint and xmlwf filename
completions, and *.gz versions of all of the supported ones for xmllint.
* Recognize rpm query mode based on the --file, --group, --package, and
--all long options (RedHat: #630328).
* Improve rpm query option completions.
* Drop bad kompare filename completion (Alioth: #312708).
* Make _filedir and _filedir_xspec complete uppercase versions of their
filename extension arguments in addition to exact case matches.
* IPv6 known hosts completion fixes (Alioth: #312695, RedHat: #630658).
* Fixes to completions for filenames containing tabs (RedHat: #629518).
* Add *.iso (Alioth: #311420), *.m2t and *.m2ts (Alioth: #312770) to
xine-based player filename completions.
* Add /etc/ethers to MAC address completion sources.
* Add *.gem and *.spkg to tar filename completions.
* Complete known hosts from avahi-browse only if $COMP_KNOWN_HOSTS_WITH_AVAHI
is non-empty (Alioth: #312691, RedHat: #630326).
* Improve relevance of many user/group completions, depending on context.
* Remove most "-o filenames" options to "complete", turn "-o filenames" on
dynamically when needed instead.
* Add/improve various autotools completions.
* Add *.apk to unzip and jar filename completions.
* Do not load bash_completion in profile.d script if progcomp is not enabled.
* Ignore muttrc source entries that are not files (Alioth: #312881).
* Re-enable postgresql database and user completion (Alioth: #312914,
Ubuntu: #164772).
* Add *.fdf to various PDF viewer completions.
[ Freddy Vulto ]
* Added _tilde(), fix ~username completion (Alioth: #312613, Debian: #587095)
* Speed up `compopt' availability detection
* Fix _filedir `-o filenames' detection on bash-3 (Alioth: #312646)
* Fix __reassemble_comp_words_by_ref (Alioth #312740)
[ Anton Khirnov ]
* Improve mplayer and mencoder completions.
[ Paul Walmsley ]
* Add *.webm to mplayer file completions (Debian: #588079).
[ Miklos Vajna ]
* Add *.amr to mplayer file completions (Alioth: #312634).
[ Andrej Gelenberg ]
* Add *.part (partially downloaded) to mplayer and xine-based player
completions (Alioth: #312657).
[ Stephen Gildea ]
* Fix false posives for non-option words in _parse_help (Alioth: #312750).
[ Andrey G. Grozin ]
* Add *.fb2 to okular filename completions.
-- David Paleino <[email protected]> Sun, 06 Feb 2011 19:03:46 +0100
bash-completion (1.2)
[ David Paleino ]
* Don't use pidof in _known_hosts_real() to detect whether Avahi is
available, since it's not available on MacOS X. Thanks to Rainer
Müller <[email protected]> (bash-completion MacPorts maintainer)
* Fixed "freq" and "rate" completion for iwconfig
* contrib/munin-node fixed (Debian: #550943)