aboutsummaryrefslogtreecommitdiffstats
path: root/shells/bash-completion-classic/files
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-29 20:44:15 +0800
committeredwin <edwin@FreeBSD.org>2003-09-29 20:44:15 +0800
commit1292e71901fdf4d9a16f723b685812513c3a8a08 (patch)
treea42652041c02f3c9b53490c686aff0e1fe75e076 /shells/bash-completion-classic/files
parent6d53d5b4357f5eb66ed1fc26c17aff6998ff42c2 (diff)
downloadfreebsd-ports-gnome-1292e71901fdf4d9a16f723b685812513c3a8a08.tar.gz
freebsd-ports-gnome-1292e71901fdf4d9a16f723b685812513c3a8a08.tar.zst
freebsd-ports-gnome-1292e71901fdf4d9a16f723b685812513c3a8a08.zip
New port: shells/bash-completion
The shells/bash-completion port installs Ian Macdonald's programmable completion library for Bash 2.04 and above. This gives users context- sensitive tab-completion for such things as program arguments, SSH hostnames, NFS mounts, and so on. PR: ports/52790 Submitted by: Kirk Strauser <kirk@strauser.com>
Diffstat (limited to 'shells/bash-completion-classic/files')
-rw-r--r--shells/bash-completion-classic/files/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/shells/bash-completion-classic/files/patch-aa b/shells/bash-completion-classic/files/patch-aa
new file mode 100644
index 000000000000..c7f35671ccef
--- /dev/null
+++ b/shells/bash-completion-classic/files/patch-aa
@@ -0,0 +1,21 @@
+--- bash_completion.orig Mon May 26 22:22:44 2003
++++ bash_completion Wed Jun 4 18:02:33 2003
+@@ -27,14 +27,14 @@
+ if [ -n "$FUNCNAME" ]; then
+ # we're being sourced from within a function, so we can't use
+ # 'declare', as this will create local variables within a function
+- BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion} 2>/dev/null
+- BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/etc/bash_completion.d} \
++ BASH_COMPLETION=${BASH_COMPLETION:-/usr/local/etc/bash_completion} 2>/dev/null
++ BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/usr/local/etc/bash_completion.d} \
+ 2>/dev/null
+ else
+- declare -r BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion} \
++ declare -r BASH_COMPLETION=${BASH_COMPLETION:-/usr/local/etc/bash_completion} \
+ 2>/dev/null
+ declare -r \
+- BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/etc/bash_completion.d} \
++ BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/usr/local/etc/bash_completion.d} \
+ 2>/dev/null
+ fi
+