completion (improvement): remove if statement

This commit is contained in:
Gurkirat Singh
2021-03-12 13:59:14 +05:30
committed by Noah Gorny
parent ab011cd9ba
commit 035fc920ad

View File

@@ -1,6 +1,5 @@
# shellcheck shell=bash
if _binary_exists ngrok; then
__ngrok_completion() {
local prev=$(_get_pword)
local curr=$(_get_cword)
@@ -42,4 +41,3 @@ if _binary_exists ngrok; then
}
complete -F __ngrok_completion ngrok
fi