summaryrefslogtreecommitdiffstats
path: root/bash-completion/mount
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/mount')
-rw-r--r--bash-completion/mount2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion/mount b/bash-completion/mount
index 9a3391339..c7e4bead6 100644
--- a/bash-completion/mount
+++ b/bash-completion/mount
@@ -15,7 +15,7 @@ _mount_module()
prefix="${cur%$realcur}"
for WORD in $TYPES; do
if ! [[ $prefix == *"$WORD"* ]]; then
- TYPE_COLS="$WORD $TYPE_COLS"
+ TYPE_COLS="$WORD ${TYPE_COLS:-""}"
fi
done
compopt -o nospace