aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-02 22:02:31 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-02 22:02:31 +1300
commit9a489cf07642ffb1a3c3b5064601a471553ad768 (patch)
treefbf4f91b7eea4d370214982cc6bde300f0db8068 /bash
parentTrim some trailing whitespace (diff)
downloaddotfiles-9a489cf07642ffb1a3c3b5064601a471553ad768.tar.gz
dotfiles-9a489cf07642ffb1a3c3b5064601a471553ad768.zip
Remove unneeded local var
Diffstat (limited to 'bash')
-rw-r--r--bash/bash_completion.d/make.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/make.bash b/bash/bash_completion.d/make.bash
index a077dc91..7f8b8125 100644
--- a/bash/bash_completion.d/make.bash
+++ b/bash/bash_completion.d/make.bash
@@ -34,7 +34,7 @@ _make() {
esac
# Break the target up with space delimiters
- local -a targets
+ declare -a targets
IFS=' ' read -a targets -r \
< <(printf '%s\n' "${line%%:*}")