From 720640c03bda972f6b0d9f44ae6fc9eadbb5c22f Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 6 Nov 2018 18:24:52 -0600 Subject: [PATCH] .functions: Don't leak our working variable --- .functions | 1 + 1 file changed, 1 insertion(+) diff --git a/.functions b/.functions index 03b0ef89..fa36ddc2 100644 --- a/.functions +++ b/.functions @@ -43,6 +43,7 @@ _proj() { reply="${reply//[^ a-zA-Z0-9.]/}" COMPREPLY+=" $reply" done + unset reply COMPREPLY=($(compgen -W "$COMPREPLY" "${COMP_WORDS[COMP_CWORD]}")) return 0 }