summaryrefslogtreecommitdiff
path: root/homebrew/bashcompletion/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/bashcompletion/.beer')
-rw-r--r--homebrew/bashcompletion/.beer44
1 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/bashcompletion/.beer b/homebrew/bashcompletion/.beer
new file mode 100644
index 000000000..1b6271ad3
--- /dev/null
+++ b/homebrew/bashcompletion/.beer
@@ -0,0 +1,44 @@
+{
+ "name": "BashCompletion",
+ "description": "Programmable completion for Bash 3.2",
+ "url": "https://src.fedoraproject.org/repo/pkgs/bash-completion/bash-completion-1.3.tar.bz2/a1262659b4bbf44dc9e59d034de505ec/bash-completion-1.3.tar.bz2",
+ "mirror": null,
+ "homepage": "https://salsa.debian.org/debian/bash-completion",
+ "depends": [],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "bash-completion@2",
+ "reason": "Differing version of same formula"
+ }
+ ],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/c1d87451da3b5b147bed95b2dc783a1b02520ac5/bash-completion/bug-740971.patch",
+ "strip": "1"
+ },
+ {
+ "url": null,
+ "data": [
+ "--- a/completions/man\n",
+ "+++ b/completions/man\n",
+ "@@ -27,7 +27,7 @@\n",
+ " fi\n",
+ "\n",
+ " uname=$( uname -s )\n",
+ "- if [[ $uname == @(Linux|GNU|GNU/*|FreeBSD|Cygwin|CYGWIN_*) ]]; then\n",
+ "+ if [[ $uname == @(Darwin|Linux|GNU|GNU/*|FreeBSD|Cygwin|CYGWIN_*) ]]; then\n",
+ " manpath=$( manpath 2>/dev/null || command man --path )\n",
+ " else\n",
+ " manpath=$MANPATH\n"
+ ]
+ }
+ ],
+ "install": [
+ "inreplace \"bash_completion\" do |s|",
+ "s.gsub! \"/etc/bash_completion\", etc/\"bash_completion\"",
+ "s.gsub! \"readlink -f\", \"readlink\""
+ ],
+ "version": "1.3",
+ "file": "bash-completion.rb"
+} \ No newline at end of file