aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/eds.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-12 11:40:51 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-12 11:40:51 +1300
commit173919ec88dea13bbe1ede2dd5ffa9820c7b4cb5 (patch)
treea15698e1d45f5e33edab016ecb7c47c5a6e9ec3a /bash/bash_completion.d/eds.bash
parentMake host variable local to function (diff)
downloaddotfiles-173919ec88dea13bbe1ede2dd5ffa9820c7b4cb5.tar.gz
dotfiles-173919ec88dea13bbe1ede2dd5ffa9820c7b4cb5.zip
Add some missing "local" calls
Diffstat (limited to 'bash/bash_completion.d/eds.bash')
-rw-r--r--bash/bash_completion.d/eds.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bash_completion.d/eds.bash b/bash/bash_completion.d/eds.bash
index 3829e157..58ecf402 100644
--- a/bash/bash_completion.d/eds.bash
+++ b/bash/bash_completion.d/eds.bash
@@ -4,6 +4,7 @@ _eds() {
local edspath
edspath=${EDSPATH:-"$HOME"/.local/bin}
[[ -d $edspath ]] || return
+ local executable
while IFS= read -rd '' executable ; do
[[ -n $executable ]] || continue
COMPREPLY[${#COMPREPLY[@]}]=$executable