You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
245 B
11 lines
245 B
_sshch_complete()
|
|
{
|
|
local cur_word alias_list
|
|
cur_word="${COMP_WORDS[COMP_CWORD]}"
|
|
alias_list=`sshch -l`
|
|
COMPREPLY=($(compgen -W "$alias_list" -- $cur_word))
|
|
return 0
|
|
}
|
|
|
|
complete -F _sshch_complete sshch
|
|
|
|
|