Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85cb556e authored by Kenny Root's avatar Kenny Root
Browse files

Only include "[a-z]*.bash" files for completion

Some people were using case-insensitive filesystems which broke when
including simply [a-z]* since it matched the uppercase files. Use this
to filter only the actual bash scripts.

Change-Id: Ibfdcf2c091a154f0485545537a044667783a19f7
parent 88dcfccb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ function addcompletions()

    dir="sdk/bash_completion"
    if [ -d ${dir} ]; then
        for f in ${dir}/[a-z]*; do
        for f in ${dir}/[a-z]*.bash; do
            echo "including $f"
            . $f
        done