forked from Lainports/freebsd-ports
39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
--- 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 \
|