[BACK]Return to patch-bash__completion CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / shells / bash-completion / patches

File: [cvs.NetBSD.org] / pkgsrc / shells / bash-completion / patches / patch-bash__completion (download)

Revision 1.3, Fri Oct 19 20:28:25 2018 UTC (3 years, 1 month ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, HEAD
Changes since 1.2: +7 -40 lines

bash-completion: Update shells/bash-completion to 2.8

Patch provided by Attila Fülöp via netbsd/pkgsrc#36, thanks!

pkgsrc changes:
 - Update MASTER_SITES and HOMEPAGE

Changes:
Unfortunately the changelog is very long. Only new/removed completions/helpers
are documented here (since 2.1):

The following completions were added:
 - 2to3, 7z, 7za, _cal, _chfn, _chsh, _dmesg, _eject, _hexdump,
   _hwclock, _ionice, _look, _mock, _modules, _newgrp, _nmcli, _renice,
   _repomanage, _reptyr, _rfkill, _rtcwake, _runuser, _su, _svn,
   _svnadmin, _svnlook, _udevadm, _write, _yum, aclocal-1.10,
   aclocal-1.12, aclocal-1.13, aclocal-1.14, aclocal-1.15, adb,
   appdata-validate, aptitude-curses, automake-1.10, automake-1.12,
   automake-1.13, automake-1.14, automake-1.15, bind, bts, ccze,
   checksec, createuser, deja-dup, dropuser, ebtables, f77, f95,
   flake8, freebsd-update, g95, geoiplookup, geoiplookup6, getconf,
   gfortran, gm, gnokii, hostname, jpegoptim, jshint, lsscsi, lsusb,
   lz4, lz4c, micropython, mr, nproc, oggdec, optipng, pdftotext,
   perltidy, pngfix, portsnap, pv, py.test, py.test-2, py.test-3,
   pycodestyle, pyflakes, pylint-2, pylint-3, pypy, pypy3, pyvenv,
   pyvenv-3.4, pyvenv-3.5, qemu-kvm, qemu-system-i386, qemu-system-x86_64,
   radvdump, sidedoor, ssh-keygen, synclient, timeout, tipc, tox,
   xdg-mime, xdg-settings, zopfli, zopflipng, python,

The following completions were removed:
 - cal, chsh, dmesg, eject, hexdump, hwclock, ionice, look, newgrp,
   nmcli, renice, reptyr, rfkill, rtcwake, su,

The following helpers were added:
 - python

$NetBSD: patch-bash__completion,v 1.3 2018/10/19 20:28:25 leot Exp $

Added pkgsrc completions

--- bash_completion.orig	2018-03-17 08:32:34.000000000 +0000
+++ bash_completion
@@ -1402,6 +1402,11 @@ _terms()
     extract patch configure build install reinstall deinstall clean
     clean-depends kernel buildworld' make
 
+# a little help for NetBSD pkgsrc users
+[[ $OSTYPE = *netbsd* ]] && complete -W 'index search fetch fetch-list
+       extract patch configure build install reinstall
+       deinstall package clean clean-depends' make
+
 # This function provides simple user@host completion
 #
 _user_at_host()