Brown paper bag fix for the previous commit.
This commit is contained in:
parent
fea1c178b4
commit
c4cc3eb63b
@ -1920,7 +1920,7 @@ _completion_loader()
|
|||||||
{
|
{
|
||||||
local compfile=./completions
|
local compfile=./completions
|
||||||
[[ $BASH_SOURCE == */* ]] && compfile="${BASH_SOURCE%/*}/completions"
|
[[ $BASH_SOURCE == */* ]] && compfile="${BASH_SOURCE%/*}/completions"
|
||||||
compfile+="${1##*/}"
|
compfile+="/${1##*/}"
|
||||||
|
|
||||||
# Avoid trying to source dirs; https://bugzilla.redhat.com/903540
|
# Avoid trying to source dirs; https://bugzilla.redhat.com/903540
|
||||||
[[ -f "$compfile" ]] && . "$compfile" &>/dev/null && return 124
|
[[ -f "$compfile" ]] && . "$compfile" &>/dev/null && return 124
|
||||||
|
Loading…
x
Reference in New Issue
Block a user