summaryrefslogtreecommitdiff
path: root/Completion/Base/_first
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-02 08:18:54 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-02 08:18:54 +0000
commit3d088f16aab58abcedcad8720ffbbfadee38bdc3 (patch)
treed7c8bb53de457af2672f9db98b451b7977683a93 /Completion/Base/_first
parente102702cd5c2372a248a9ddadad4dedeb7c55e8f (diff)
downloadzsh-3d088f16aab58abcedcad8720ffbbfadee38bdc3.tar.gz
zsh-3d088f16aab58abcedcad8720ffbbfadee38bdc3.zip
make completion-in-vared complete parameter values as default; cleanup for _path_files (11048)
Diffstat (limited to 'Completion/Base/_first')
-rw-r--r--Completion/Base/_first23
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