Skip to content

Commit

Permalink
test: [debug] dump realcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Mar 10, 2024
1 parent e3977ff commit a7fddd2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -3203,8 +3203,11 @@ _comp_load()
# Look up and source
[[ $1 == bin/cmd1 ]] && {
declare -p dirs
ls -l "${dirs[@]}"
ls -ld "${dirs[@]}"
_comp_realcommand "$cmd" &&
local test1_path=${REPLY%/*} &&
local test2_path=${test1_path%/*}/share/bash-completion/completions
declare -p test1_path test2_path
} >&2
shift
local i prefix compspec
Expand Down

0 comments on commit a7fddd2

Please sign in to comment.