]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/lsipc
login: add support for directories in MOTD_FILE=
[thirdparty/util-linux.git] / bash-completion / lsipc
index ffe44b7d1f4c70aee0b56f633fa3dd485a2f82d7..a40fe428603f8d2b39e8654e125f73deea3df53e 100644 (file)
@@ -35,7 +35,7 @@ _lsipc_module()
                        "
                        for WORD in $OUTPUT_ALL; do
                                if ! [[ $prefix == *"$WORD"* ]]; then
-                                       OUTPUT="$WORD $OUTPUT"
+                                       OUTPUT="$WORD ${OUTPUT:-""}"
                                fi
                        done
                        compopt -o nospace