(navigate) added help to completions

This commit is contained in:
scbj
2026-04-16 09:37:03 +02:00
parent 11cc8e8e18
commit d4b59fb3c6
+1 -1
View File
@@ -33,7 +33,7 @@ function navconfig {
function _book { function _book {
CURRENT_WORD=${COMP_WORDS[COMP_CWORD]} CURRENT_WORD=${COMP_WORDS[COMP_CWORD]}
if [[ COMP_CWORD -eq 1 ]]; then if [[ COMP_CWORD -eq 1 ]]; then
BOOKMARKS="add remove clean $(__call_navigate bookmark completions)" BOOKMARKS="add remove clean help $(__call_navigate bookmark completions)"
COMPREPLY=($(compgen -W "${BOOKMARKS}" -- $CURRENT_WORD)) COMPREPLY=($(compgen -W "${BOOKMARKS}" -- $CURRENT_WORD))
elif [[ COMP_CWORD -eq 2 ]]; then elif [[ COMP_CWORD -eq 2 ]]; then
if [[ "${COMP_WORDS[1]}" = "clean" ]]; then if [[ "${COMP_WORDS[1]}" = "clean" ]]; then