summaryrefslogtreecommitdiffstats
path: root/test/fixtures/_comp_xfunc/completions/xfunc-test1
blob: 50a35c0a5253defafa89f0427d464b7d1e108a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Dummy completion file for _comp_xfunc tests              -*- shell-script -*-

if declare -F _comp_xfunc_xfunc_test1_utility1 &>/dev/null; then
  echo "_comp_xfunc_xfunc_test1_utility1 is already defined"
  return 1
fi

_comp_xfunc_xfunc_test1_utility1() {
  printf 'util1['
  printf '<%s>' "$@"
  printf ']\n'
}