diff options
Diffstat (limited to 'bash/bash_completion.d/ud.bash')
-rw-r--r-- | bash/bash_completion.d/ud.bash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bash_completion.d/ud.bash b/bash/bash_completion.d/ud.bash index 278fbbc3..9ded41e6 100644 --- a/bash/bash_completion.d/ud.bash +++ b/bash/bash_completion.d/ud.bash @@ -7,6 +7,7 @@ _ud() { # Iterate through directories, null-separated, add them to completions local dirname while IFS= read -rd '' dirname ; do + [[ -n "$dirname" ]] || continue COMPREPLY[${#COMPREPLY[@]}]=$dirname done < <( |