diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-02 08:18:54 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-02 08:18:54 +0000 |
commit | 3d088f16aab58abcedcad8720ffbbfadee38bdc3 (patch) | |
tree | d7c8bb53de457af2672f9db98b451b7977683a93 /Completion/Base | |
parent | e102702cd5c2372a248a9ddadad4dedeb7c55e8f (diff) | |
download | zsh-3d088f16aab58abcedcad8720ffbbfadee38bdc3.tar.gz zsh-3d088f16aab58abcedcad8720ffbbfadee38bdc3.tar.xz zsh-3d088f16aab58abcedcad8720ffbbfadee38bdc3.zip |
make completion-in-vared complete parameter values as default; cleanup for _path_files (11048)
Diffstat (limited to 'Completion/Base')
-rw-r--r-- | Completion/Base/_first | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Completion/Base/_first b/Completion/Base/_first index 93602f307..4f10cbb8f 100644 --- a/Completion/Base/_first +++ b/Completion/Base/_first @@ -6,29 +6,6 @@ # This just gives some examples of things you might want to do here. # # -# If you use the vared builtin and want completion in there to act the -# way completion on the right hand side of assignments is done, add -# (or un-comment) this code: -# -# if [[ -n $compstate[vared] ]]; then -# if [[ $compstate[vared] = *\[* ]]; then -# # vared on an array-element -# compstate[parameter]=${compstate[vared]%%\[*} -# compstate[context]=value -# else -# # vared on a parameter, let's see if it is an array -# compstate[parameter]=$compstate[vared] -# if [[ ${(tP)compstate[vared]} = *(array|assoc)* ]]; then -# compstate[context]=array_value -# else -# compstate[context]=value -# fi -# fi -# return -# fi -# -# -# # Other things you can do here is to complete different things if the # word on the line matches a certain pattern. This example allows # completion of words from the history by adding two commas at the end |