about summary refs log tree commit diff
path: root/Test/compgentest
blob: 26b202c437dfdf2f119eadef0b2a08dcce5686b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
comptestinit () {
  
  setopt extendedglob
  [[ -d $ZTST_testdir/Modules/zsh ]] && module_path=( $ZTST_testdir/Modules )

  zmodload -i zsh/parameter || return $?
  autoload -Uz bashcompinit || return $?
  bashcompinit || return $?

}

comptest () {
  compgen -W 'abc abe ab a def' ab
}