aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_completion.d')
-rw-r--r--bash/bash_completion.d/ud.bash3
1 files changed, 0 insertions, 3 deletions
diff --git a/bash/bash_completion.d/ud.bash b/bash/bash_completion.d/ud.bash
index 5170eb57..2311ae3c 100644
--- a/bash/bash_completion.d/ud.bash
+++ b/bash/bash_completion.d/ud.bash
@@ -29,9 +29,6 @@ _ud() {
dirnames=("${COMP_WORDS[COMP_CWORD]}"*/)
dirnames=("${dirnames[@]%/}")
- # Bail if no results to prevent empty output
- ((${#dirnames[@]})) || exit 1
-
# Print results null-delimited
printf '%s\0' "${dirnames[@]}"
)