From b565a1d7097f9037e512a747e724e95fd7300d36 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 20 Mar 2025 13:23:41 +0300 Subject: [PATCH] Feat(.bashrc): Scan subdirectories in `$HOME/lib/config` --- .bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index ce4af33..a403c77 100644 --- a/.bashrc +++ b/.bashrc @@ -161,7 +161,9 @@ fi unset _BASH_COMPLETIONS_DIR has_completion delegate_completion if [ -d "$HOME/lib/config" ]; then - complete -W "`cd \"$HOME/lib/config\" && echo *`" include + complete \ + -W "`cd \"$HOME/lib/config\" && find . -type f -printf '%P\n'`" \ + include fi complete -W "`echo $BROWSER | sed 's/:/ /g'`" start-browser -- 2.39.5