summaryrefslogtreecommitdiff
path: root/shells/bash-completion/files
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash-completion/files')
-rw-r--r--shells/bash-completion/files/patch-Makefile.am22
-rw-r--r--shells/bash-completion/files/patch-bash__completion11
-rw-r--r--shells/bash-completion/files/patch-freebsd-update56
-rw-r--r--shells/bash-completion/files/patch-portsnap52
-rw-r--r--shells/bash-completion/files/patch-reptyr84
-rw-r--r--shells/bash-completion/files/pkg-message.in2
6 files changed, 1 insertions, 226 deletions
diff --git a/shells/bash-completion/files/patch-Makefile.am b/shells/bash-completion/files/patch-Makefile.am
deleted file mode 100644
index 40771d02009a..000000000000
--- a/shells/bash-completion/files/patch-Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
---- Makefile.am.orig 2016-10-04 13:52:42 UTC
-+++ Makefile.am
-@@ -5,7 +5,7 @@ pkgdata_DATA = bash_completion
- # Empty, but here just to get the compat dir created with install
- compat_DATA =
-
--profiledir = $(sysconfdir)/profile.d
-+profiledir = $(prefix)/share/bash-completion
- profile_DATA = bash_completion.sh
-
- pkgconfigdir = $(prefix)/libdata/pkgconfig
-@@ -20,8 +20,10 @@ EXTRA_DIST = CHANGES $(sysconf_DATA) $(p
- .dir-locals.el
-
- install-data-hook:
-+ chmod 644 $(DESTDIR)$(pkgdatadir)/bash_completion
- tmpfile=`mktemp $${TMPDIR:-/tmp}/bash_completion.XXXXXX` && \
- sed -e 's|=/etc/bash_completion\.d|=$(compatdir)|' \
- $(DESTDIR)$(pkgdatadir)/bash_completion > $$tmpfile && \
- cat $$tmpfile > $(DESTDIR)$(pkgdatadir)/bash_completion && \
- rm $$tmpfile
-+ chmod 444 $(DESTDIR)$(pkgdatadir)/bash_completion
diff --git a/shells/bash-completion/files/patch-bash__completion b/shells/bash-completion/files/patch-bash__completion
deleted file mode 100644
index 6e6d95fa1a68..000000000000
--- a/shells/bash-completion/files/patch-bash__completion
+++ /dev/null
@@ -1,11 +0,0 @@
---- bash_completion.orig 2015-01-20 16:17:24 UTC
-+++ bash_completion
-@@ -707,7 +707,7 @@ _init_completion()
- fi
- done
-
-- [[ $cword -eq 0 ]] && return 1
-+ [[ $cword -le 0 ]] && return 1
- prev=${words[cword-1]}
-
- [[ ${split-} ]] && _split_longopt && split=true
diff --git a/shells/bash-completion/files/patch-freebsd-update b/shells/bash-completion/files/patch-freebsd-update
deleted file mode 100644
index e25f83e14002..000000000000
--- a/shells/bash-completion/files/patch-freebsd-update
+++ /dev/null
@@ -1,56 +0,0 @@
-From 5ff5a4e0f875e8d1a49848408cfe72778889cbe8 Mon Sep 17 00:00:00 2001
-From: Peter Dave Hello <hsu@peterdavehello.org>
-Date: Tue, 7 Jan 2014 12:29:24 +0800
-Subject: freebsd-update: New completion.
-
-
-diff --git completions/Makefile.am completions/Makefile.am
-index 7b8f767..9ef17ea 100644
---- completions/Makefile.am
-+++ completions/Makefile.am
-@@ -96,6 +96,7 @@ bashcomp_DATA = 2to3 \
- filesnarf \
- find \
- find_member \
-+ freebsd-update \
- freeciv-gtk2 \
- freeciv-server \
- function \
-diff --git completions/freebsd-update completions/freebsd-update
-new file mode 100644
-index 0000000..4cf8650
---- /dev/null
-+++ completions/freebsd-update
-@@ -0,0 +1,29 @@
-+# bash completion for FreeBSD update tool - freebsd-update -*- shell-script -*-
-+
-+[[ $OSTYPE == *freebsd* ]] || return 1
-+
-+_freebsd_update()
-+{
-+ local cur prev words cword
-+ _init_completion || return
-+
-+ case $prev in
-+ -b|-d)
-+ _filedir -d
-+ return
-+ ;;
-+ -f)
-+ _filedir
-+ return
-+ ;;
-+ -k|-r|-s|-t)
-+ return
-+ ;;
-+ esac
-+
-+ COMPREPLY=( $(compgen -W "fetch cron upgrade install rollback IDS" -- \
-+ $cur) )
-+} &&
-+complete -F _freebsd_update freebsd-update
-+
-+# ex: ts=4 sw=4 et filetype=sh
---
-cgit v0.10.2
-
diff --git a/shells/bash-completion/files/patch-portsnap b/shells/bash-completion/files/patch-portsnap
deleted file mode 100644
index aeaab80300f4..000000000000
--- a/shells/bash-completion/files/patch-portsnap
+++ /dev/null
@@ -1,52 +0,0 @@
-From c3770c17984bb61255db6adb48886b466c335e03 Mon Sep 17 00:00:00 2001
-From: Peter Dave Hello <hsu@peterdavehello.org>
-Date: Thu, 2 Jan 2014 03:28:56 +0800
-Subject: portsnap: New completion.
-
-
-diff --git completions/Makefile.am completions/Makefile.am
-index be5bc26..7b8f767 100644
---- completions/Makefile.am
-+++ completions/Makefile.am
-@@ -261,6 +261,7 @@ bashcomp_DATA = 2to3 \
- pm-is-supported \
- pm-powersave \
- portinstall \
-+ portsnap \
- portupgrade \
- postcat \
- postconf \
-diff --git completions/portsnap completions/portsnap
-new file mode 100644
-index 0000000..22937c0
---- /dev/null
-+++ completions/portsnap
-@@ -0,0 +1,25 @@
-+# bash completion for Portsnap -*- shell-script -*-
-+
-+[[ $OSTYPE == *freebsd* ]] || return 1
-+
-+_portsnap()
-+{
-+ local cur prev words cword
-+ _init_completion || return
-+
-+ case $prev in
-+ -d|-p)
-+ _filedir -d
-+ return
-+ ;;
-+ -l|-f)
-+ _filedir
-+ return
-+ ;;
-+ esac
-+
-+ COMPREPLY=( $(compgen -W "fetch cron extract update" -- $cur) )
-+} &&
-+complete -F _portsnap portsnap
-+
-+# ex: ts=4 sw=4 et filetype=sh
---
-cgit v0.10.2
-
diff --git a/shells/bash-completion/files/patch-reptyr b/shells/bash-completion/files/patch-reptyr
deleted file mode 100644
index eacb1f8e4c4c..000000000000
--- a/shells/bash-completion/files/patch-reptyr
+++ /dev/null
@@ -1,84 +0,0 @@
-From 6a4ad49fa53cc92d3bd23b5b4db0b3318f2ef136 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
-Date: Tue, 3 Feb 2015 07:55:22 +0200
-Subject: reptyr: Rename file to _reptyr to avoid conflict with upstreamed
- completion
-
-https://github.com/nelhage/reptyr/pull/53
----
- completions/Makefile.am | 2 +-
- completions/_reptyr | 26 ++++++++++++++++++++++++++
- completions/reptyr | 23 -----------------------
- 3 files changed, 27 insertions(+), 24 deletions(-)
- create mode 100644 completions/_reptyr
- delete mode 100644 completions/reptyr
-
---- completions/Makefile.am
-+++ completions/Makefile.am
-@@ -303,7 +303,7 @@ bashcomp_DATA = 2to3 \
- _renice \
- _repomanage \
- reportbug \
-- reptyr \
-+ _reptyr \
- resolvconf \
- rfkill \
- ri \
---- /dev/null
-+++ completions/_reptyr
-@@ -0,0 +1,26 @@
-+# bash completion for reptyr(1) -*- shell-script -*-
-+
-+# Use of this file is deprecated. Upstream completion is available in
-+# reptyr > 0.6.2, use that instead.
-+
-+_reptyr()
-+{
-+ local cur prev words cword
-+ _init_completion || return
-+
-+ case $prev in
-+ -l)
-+ return 0
-+ ;;
-+ esac
-+
-+ if [[ $cur == -* ]]; then
-+ COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
-+ return 0
-+ fi
-+
-+ [[ $prev != +([0-9]) ]] && _pids
-+} &&
-+complete -F _reptyr reptyr
-+
-+# ex: ts=4 sw=4 et filetype=sh
---- completions/reptyr
-+++ /dev/null
-@@ -1,23 +0,0 @@
--# bash completion for reptyr(1) -*- shell-script -*-
--
--_reptyr()
--{
-- local cur prev words cword
-- _init_completion || return
--
-- case $prev in
-- -l)
-- return 0
-- ;;
-- esac
--
-- if [[ $cur == -* ]]; then
-- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
-- return 0
-- fi
--
-- [[ $prev != +([0-9]) ]] && _pids
--} &&
--complete -F _reptyr reptyr
--
--# ex: ts=4 sw=4 et filetype=sh
---
-cgit v0.11.2
-
diff --git a/shells/bash-completion/files/pkg-message.in b/shells/bash-completion/files/pkg-message.in
index 295c11f08d8d..f5c3c0203fd3 100644
--- a/shells/bash-completion/files/pkg-message.in
+++ b/shells/bash-completion/files/pkg-message.in
@@ -7,7 +7,7 @@ your .bashrc file:
[[ $PS1 && -f %%RUNFILE%% ]] && \
source %%RUNFILE%%
-See %%DOCSDIR%%/README for more information.
+See %%DOCSDIR%%/README.md for more information.
=====================================================================