about summary refs log tree commit diff
path: root/Completion/Base/Widget/_generic
blob: 8a943d2811a0780c9f2334dbf8cf8937ddccf18a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#autoload

local curcontext="${curcontext:-}"

if [[ -z "$curcontext" ]]; then
  curcontext="${WIDGET}:::"
else
  curcontext="${WIDGET}:${curcontext#*:}"
fi

_main_complete