diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 02:33:18 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 02:33:18 +1300 |
commit | e66e52276df6cc1c0f91d0a3d955ef9860be1c94 (patch) | |
tree | dba71f7ee4c7242cf634b6bb70b3e0bfeecda0b2 /bash | |
parent | Remove unneeded empty result short circuit (diff) | |
download | dotfiles-e66e52276df6cc1c0f91d0a3d955ef9860be1c94.tar.gz dotfiles-e66e52276df6cc1c0f91d0a3d955ef9860be1c94.zip |
Remove unneeded local array declaration
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bash_completion.d/ud.bash | 1 |
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[@]%/}") |