1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/security/step-cli/files/patch-autocomplete_bash__autocomplete
Bernhard Froehlich 6ce3add2d2 step is a zero trust swiss army knife that integrates with step-ca for
automated certificate management. It's an easy-to-use and hard-to-misuse utility
for building, operating, and automating systems that use zero trust technologies
like authenticated encryption (X.509, TLS), single sign-on (OAuth OIDC, SAML),
multi-factor authentication (OATH OTP, FIDO U2F), encryption mechanisms (JSON
Web Encryption, NaCl), and verifiable claims (JWT, SAML assertions).

WWW: https://smallstep.com/cli/

PR:		245534
Submitted by:	Markus Wipp <mw@wipp.bayern>
2020-04-17 20:04:59 +00:00

19 lines
404 B
Plaintext

--- autocomplete/bash_autocomplete.orig 2020-04-11 10:12:19 UTC
+++ autocomplete/bash_autocomplete
@@ -1,7 +1,5 @@
#!/usr/local/bin/bash
-: ${PROG:=$(basename ${BASH_SOURCE})}
-
_cli_bash_autocomplete() {
local cur opts base
COMPREPLY=()
@@ -16,6 +14,4 @@ _cli_bash_autocomplete() {
return 0
}
-complete -F _cli_bash_autocomplete $PROG
-
-unset PROG
+complete -F _cli_bash_autocomplete step