diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:22:30 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:22:30 +0000 |
commit | e7e55a73c14a7b56d17f3c9e141e4148f566b6f5 (patch) | |
tree | 38a1f201e111947720bfe4e01484baa71867fa3b /Completion/Base | |
parent | cd26a391d9c9a6694765cddd30a1cd4334aaed6e (diff) | |
download | zsh-e7e55a73c14a7b56d17f3c9e141e4148f566b6f5.tar.gz zsh-e7e55a73c14a7b56d17f3c9e141e4148f566b6f5.tar.xz zsh-e7e55a73c14a7b56d17f3c9e141e4148f566b6f5.zip |
moved to Completion/Zsh/Context/_default
Diffstat (limited to 'Completion/Base')
-rw-r--r-- | Completion/Base/_default | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Completion/Base/_default b/Completion/Base/_default deleted file mode 100644 index 8176f392c..000000000 --- a/Completion/Base/_default +++ /dev/null @@ -1,27 +0,0 @@ -#compdef -default- - -local ctl - -if { zstyle -s ":completion:${curcontext}:" use-compctl ctl || - zmodload -e zsh/compctl } && [[ "$ctl" != (no|false|0|off) ]]; then - local opt - - opt=() - [[ "$ctl" = *first* ]] && opt=(-T) - [[ "$ctl" = *default* ]] && opt=("$opt[@]" -D) - compcall "$opt[@]" || return 0 -fi - -_files "$@" && return 0 - -# magicequalsubst allows arguments like <any-old-stuff>=~/foo to do -# file name expansion after the =. In that case, it's natural to -# allow completion to handle file names after any equals sign. - -if [[ -o magicequalsubst && "$PREFIX" = *\=* ]]; then - compstate[parameter]="${words[1]:t}-${PREFIX%%\=*}" - compset -P 1 '*=' - _value "$@" -else - return 1 -fi |