Skip to content

Commit d70381e

Browse files
committed
1 parent 4dc827a commit d70381e

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

completions/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ cross_platform = 2to3 \
204204
jarsigner \
205205
java \
206206
javaws \
207+
_jj \
207208
jq \
208209
jpegoptim \
209210
jps \

completions/_jj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 3rd party completion loader for commands emitting -*- shell-script -*-
2+
# their completion using "$cmd util completion bash".
3+
#
4+
# This serves as a fallback in case the completion is not installed otherwise.
5+
6+
eval -- "$("$1" util completion bash 2>/dev/null)"
7+
8+
# ex: filetype=sh

test/fallback/completions/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ EXTRA_DIST = \
1616
hwclock \
1717
insmod \
1818
ionice \
19+
jj \
1920
jungle \
2021
keyring \
2122
kontena \

test/fallback/completions/jj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../completions/_jj

0 commit comments

Comments
 (0)