]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/lslogins
fstrim shouldn't run inside a container
[thirdparty/util-linux.git] / bash-completion / lslogins
index 967b644ca0c67b85f43b56b2929a28178d54383b..8651fe9df265c1c0402097531c68dc1e4d8cb1b4 100755 (executable)
@@ -35,7 +35,7 @@ _lslogins_module()
                        prefix="${cur%$realcur}"
                        for WORD in $LSLOGINS_COLS_ALL; do
                                if ! [[ $prefix == *"$WORD"* ]]; then
-                                       LSLOGINS_COLS="$WORD $LSLOGINS_COLS"
+                                       LSLOGINS_COLS="$WORD ${LSLOGINS_COLS:-""}"
                                fi
                        done
                        compopt -o nospace
@@ -59,6 +59,7 @@ _lslogins_module()
                        --noheadings
                        --notruncate
                        --output
+                       --output-all
                        --pwd
                        --raw
                        --system-accs