From 3d088f16aab58abcedcad8720ffbbfadee38bdc3 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 2 May 2000 08:18:54 +0000 Subject: make completion-in-vared complete parameter values as default; cleanup for _path_files (11048) --- Completion/Base/_first | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'Completion/Base') 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 -- cgit 1.4.1