Skip to content

Commit

Permalink
test: [debug] dump dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Mar 10, 2024
1 parent a03b139 commit e3977ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -3202,6 +3202,10 @@ _comp_load()
local IFS=$' \t\n'
# Look up and source
[[ $1 == bin/cmd1 ]] && {
declare -p dirs
ls -l "${dirs[@]}"
} >&2
shift
local i prefix compspec
for prefix in "" _; do # Regular from all dirs first, then fallbacks
Expand Down

0 comments on commit e3977ff

Please sign in to comment.