diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:16:02 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:16:02 +0000 |
commit | 86904a9aceea0c9511b1cf1759ffb1b31ca02e89 (patch) | |
tree | a8437691be27a766972ad689b49102c886267fbd /Completion/Base | |
parent | fe4fed2195add78f4f4be8e52f3b5c2e83fb34fe (diff) | |
download | zsh-86904a9aceea0c9511b1cf1759ffb1b31ca02e89.tar.gz zsh-86904a9aceea0c9511b1cf1759ffb1b31ca02e89.tar.xz zsh-86904a9aceea0c9511b1cf1759ffb1b31ca02e89.zip |
moved from Completion/Commands/_generic
Diffstat (limited to 'Completion/Base')
-rw-r--r-- | Completion/Base/Widget/_generic | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Completion/Base/Widget/_generic b/Completion/Base/Widget/_generic new file mode 100644 index 000000000..9a6b4401f --- /dev/null +++ b/Completion/Base/Widget/_generic @@ -0,0 +1,11 @@ +#autoload + +local curcontext="$curcontext" + +if [[ -z "$curcontext" ]]; then + curcontext="${WIDGET}:::" +else + curcontext="${WIDGET}:${curcontext#*:}" +fi + +_main_complete |