summaryrefslogtreecommitdiffstats
path: root/shells/bash-completion/files/patch-aa
blob: 5eace9dd220f6747ce00010ce2b5d61e21fc0811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- bash_completion.orig	Wed Feb 18 09:10:18 2004
+++ bash_completion	Wed Feb 18 09:11:01 2004
@@ -31,14 +31,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
 
OpenPOWER on IntegriCloud