aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:33:18 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:33:18 +1300
commite66e52276df6cc1c0f91d0a3d955ef9860be1c94 (patch)
treedba71f7ee4c7242cf634b6bb70b3e0bfeecda0b2
parent59cdb7f73046054e779723dd6ca185ac2615081d (diff)
downloaddotfiles-e66e52276df6cc1c0f91d0a3d955ef9860be1c94.tar.gz
Remove unneeded local array declaration
-rw-r--r--bash/bash_completion.d/ud.bash1
1 files changed, 0 insertions, 1 deletions
diff --git a/bash/bash_completion.d/ud.bash b/bash/bash_completion.d/ud.bash
index 2311ae3c..c7dee582 100644
--- a/bash/bash_completion.d/ud.bash
+++ b/bash/bash_completion.d/ud.bash
@@ -25,7 +25,6 @@ _ud() {
done < <(bind -v)
# Collect directory names, strip trailing slashes
- local -a dirnames
dirnames=("${COMP_WORDS[COMP_CWORD]}"*/)
dirnames=("${dirnames[@]%/}")