From 784095609bb108d0c9e89da2fd54f9cf8312898c Mon Sep 17 00:00:00 2001 From: techgaun Date: Tue, 19 Jul 2022 01:45:11 -0500 Subject: [PATCH] improv --- .bash_completion | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.bash_completion b/.bash_completion index b52bf97..f96dfe7 100755 --- a/.bash_completion +++ b/.bash_completion @@ -1,9 +1,7 @@ #!/usr/bin/env bash -shopt -s nullglob - if [[ -d "${HOME}/.bash_completion.d" ]]; then - for bcfile in "${HOME}/.bash_completion.d/"* ; do + for bcfile in $(find "${HOME}/.bash_completion.d/" -type f) ; do source $bcfile done fi