completion (improvement): remove if statement
This commit is contained in:
committed by
Noah Gorny
parent
ab011cd9ba
commit
035fc920ad
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user