diff options
Diffstat (limited to 'test/fixtures/_comp_load')
10 files changed, 14 insertions, 0 deletions
diff --git a/test/fixtures/_comp_load/bin/cmd1 b/test/fixtures/_comp_load/bin/cmd1 new file mode 120000 index 0000000..5e6359b --- /dev/null +++ b/test/fixtures/_comp_load/bin/cmd1 @@ -0,0 +1 @@ +../prefix1/bin/cmd1
\ No newline at end of file diff --git a/test/fixtures/_comp_load/bin/cmd2 b/test/fixtures/_comp_load/bin/cmd2 new file mode 120000 index 0000000..933265d --- /dev/null +++ b/test/fixtures/_comp_load/bin/cmd2 @@ -0,0 +1 @@ +../prefix1/sbin/cmd2
\ No newline at end of file diff --git a/test/fixtures/_comp_load/prefix1/bin/cmd1 b/test/fixtures/_comp_load/prefix1/bin/cmd1 new file mode 100755 index 0000000..8125fcf --- /dev/null +++ b/test/fixtures/_comp_load/prefix1/bin/cmd1 @@ -0,0 +1 @@ +echo cmd1 diff --git a/test/fixtures/_comp_load/prefix1/bin/sh b/test/fixtures/_comp_load/prefix1/bin/sh new file mode 100755 index 0000000..5bc7d46 --- /dev/null +++ b/test/fixtures/_comp_load/prefix1/bin/sh @@ -0,0 +1 @@ +echo sh diff --git a/test/fixtures/_comp_load/prefix1/sbin/cmd2 b/test/fixtures/_comp_load/prefix1/sbin/cmd2 new file mode 100755 index 0000000..8fed03c --- /dev/null +++ b/test/fixtures/_comp_load/prefix1/sbin/cmd2 @@ -0,0 +1 @@ +echo cmd2 diff --git a/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd1 b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd1 new file mode 100644 index 0000000..378a6e3 --- /dev/null +++ b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd1 @@ -0,0 +1,2 @@ +echo 'cmd1: sourced from prefix1' +complete -C true "$1" diff --git a/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd2 b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd2 new file mode 100644 index 0000000..167ad62 --- /dev/null +++ b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd2 @@ -0,0 +1,2 @@ +echo 'cmd2: sourced from prefix1' +complete -C true "$1" diff --git a/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/sh b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/sh new file mode 100644 index 0000000..18fe79e --- /dev/null +++ b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/sh @@ -0,0 +1 @@ +echo 'sh: sourced from prefix1' diff --git a/test/fixtures/_comp_load/userdir1/completions/cmd1 b/test/fixtures/_comp_load/userdir1/completions/cmd1 new file mode 100644 index 0000000..b26bf1f --- /dev/null +++ b/test/fixtures/_comp_load/userdir1/completions/cmd1 @@ -0,0 +1,2 @@ +echo 'cmd1: sourced from userdir1' +complete -C true "$1" diff --git a/test/fixtures/_comp_load/userdir2/completions/cmd2 b/test/fixtures/_comp_load/userdir2/completions/cmd2 new file mode 100644 index 0000000..667989b --- /dev/null +++ b/test/fixtures/_comp_load/userdir2/completions/cmd2 @@ -0,0 +1,2 @@ +echo 'cmd2: sourced from userdir2' +complete -C true "$1" |