rename 'contrib' directory to 'completions'
This commit is contained in:
parent
cb7fc2f7c4
commit
796f77ef22
@ -698,7 +698,7 @@ proc _save_env {{file ""}} {
|
||||
|
||||
# Source bash_completion package
|
||||
proc source_bash_completion {} {
|
||||
assert_bash_exec {BASH_COMPLETION_DIR=$(cd "$TESTDIR/.."; pwd)/contrib}
|
||||
assert_bash_exec {BASH_COMPLETION_DIR=$(cd "$TESTDIR/.."; pwd)/completions}
|
||||
assert_bash_exec {BASH_COMPLETION_COMPAT_DIR=$BASH_COMPLETION_DIR}
|
||||
assert_bash_exec {BASH_COMPLETION=$(cd "$TESTDIR/.."; pwd)/bash_completion}
|
||||
assert_bash_exec {source "$BASH_COMPLETION"}
|
||||
|
@ -3,7 +3,7 @@
|
||||
gitgrep()
|
||||
{
|
||||
local out=$(git grep -I -E -n "$1" | \
|
||||
grep -E '^(bash_completion|contrib/|test/)' | \
|
||||
grep -E '^(bash_completion|completions/|test/)' | \
|
||||
grep -Fv 'test/runLint')
|
||||
if [ -n "$out" ] ; then
|
||||
printf '***** %s\n' "$2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user