(navigate) added help to completions
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user