.functions: Don't leak our working variable
This commit is contained in:
parent
e7552dd682
commit
720640c03b
@ -43,6 +43,7 @@ _proj() {
|
|||||||
reply="${reply//[^ a-zA-Z0-9.]/}"
|
reply="${reply//[^ a-zA-Z0-9.]/}"
|
||||||
COMPREPLY+=" $reply"
|
COMPREPLY+=" $reply"
|
||||||
done
|
done
|
||||||
|
unset reply
|
||||||
COMPREPLY=($(compgen -W "$COMPREPLY" "${COMP_WORDS[COMP_CWORD]}"))
|
COMPREPLY=($(compgen -W "$COMPREPLY" "${COMP_WORDS[COMP_CWORD]}"))
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user