contrib/bash_completion
changeset 1263 bc1815cf89a7
parent 1153 fa9ae7df88a9
child 1308 2073e5a71008
equal deleted inserted replaced
1262:325c07fd2ebd 1263:bc1815cf89a7
     9     # hide debug commands from users, but complete them if 
     9     # hide debug commands from users, but complete them if 
    10     # specifically asked for
    10     # specifically asked for
    11     if [[ "$cur" == de* ]]; then
    11     if [[ "$cur" == de* ]]; then
    12 	commands="$commands debugcheckstate debugstate debugindex"
    12 	commands="$commands debugcheckstate debugstate debugindex"
    13 	commands="$commands debugindexdot debugwalk debugdata"
    13 	commands="$commands debugindexdot debugwalk debugdata"
       
    14 	commands="$commands debugancestor debugconfig debugrename"
    14     fi
    15     fi
    15     COMPREPLY=( ${COMPREPLY[@]:-} $(compgen -W "$commands" -- "$cur") )
    16     COMPREPLY=( ${COMPREPLY[@]:-} $(compgen -W "$commands" -- "$cur") )
    16 }
    17 }
    17 
    18 
    18 _hg_paths()
    19 _hg_paths()