Mercurial > hg > mercurial-crew-with-dirclash
comparison contrib/bash_completion @ 1263:bc1815cf89a7
Added new debug commands to bash_completion.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 16 Sep 2005 21:31:31 +0200 |
parents | fa9ae7df88a9 |
children | 2073e5a71008 |
comparison
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() |