Open abelsromero opened 1 year ago
The expression is used to obtain the current word, but at least in MacOS it always returns empty and the _gh_install_latest_release_completion works even when passing "" got compgen.
_gh_install_latest_release_completion
""
This works on mac local -r current_word="${COMP_WORDS[$((COMP_CWORD-1))]}"
local -r current_word="${COMP_WORDS[$((COMP_CWORD-1))]}"
The expression is used to obtain the current word, but at least in MacOS it always returns empty and the
_gh_install_latest_release_completion
works even when passing""
got compgen.