From 6c09f2a45c5541e9c207d14fc7aa21a4a0066bde Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:03:19 +0200 Subject: Merging upstream version 1:2.12.0. Signed-off-by: Daniel Baumann --- completions/_vault | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 completions/_vault (limited to 'completions/_vault') diff --git a/completions/_vault b/completions/_vault new file mode 100644 index 0000000..25abbc2 --- /dev/null +++ b/completions/_vault @@ -0,0 +1,8 @@ +# 3rd party completion loader for commands -*- shell-script -*- +# supporting their use of as a `complete -C` handler. +# +# This serves as a fallback in case the completion is not installed otherwise. + +type "$1" &>/dev/null && complete -C "\"$1\" 2>/dev/null" "$1" + +# ex: filetype=sh -- cgit v1.2.3