aboutsummaryrefslogtreecommitdiff
path: root/shells/bash-completion/files/patch-aa
blob: 3640ef8f21d61312c2329fb8b84cc16234e86817 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- bash_completion.orig	Wed Nov 12 02:20:42 2003
+++ bash_completion	Tue Dec  2 11:24:11 2003
@@ -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
 
@@ -1222,7 +1222,7 @@
 			@(ex?(p?(ort))))
 				mode=export
 				;;
-			@(annotate|diff|history|import|release|status|update|?(un)edit))
+			@(annotate|blame|diff|history|import|release|status|update|?(un)edit))
 				mode=$i
 				;;
 			?(r)log)
@@ -1371,7 +1371,7 @@
 		fi
 		;;
 	"")
-		COMPREPLY=( $( compgen -W 'add admin annotate checkout ci co \
+		COMPREPLY=( $( compgen -W 'add admin annotate blame checkout ci co \
 					   commit diff delete edit export \
 					   freeze get history import log new \
 					   patch rcs rdiff release remove \