about summary refs log tree commit diff
path: root/Completion/Core/_sep_parts
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-22 12:51:57 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-22 12:51:57 +0000
commiteda0e496969f1eb06eec47501fce74f608d34704 (patch)
tree096b0fee476cb082398310d202efc7a883e1bf73 /Completion/Core/_sep_parts
parentd139ae56432a82a3dbe11f4be89ba7d886f2c177 (diff)
downloadzsh-eda0e496969f1eb06eec47501fce74f608d34704.tar.gz
zsh-eda0e496969f1eb06eec47501fce74f608d34704.tar.xz
zsh-eda0e496969f1eb06eec47501fce74f608d34704.zip
zsh-workers/7974
Diffstat (limited to 'Completion/Core/_sep_parts')
-rw-r--r--Completion/Core/_sep_parts6
1 files changed, 1 insertions, 5 deletions
diff --git a/Completion/Core/_sep_parts b/Completion/Core/_sep_parts
index 0a8cae28f..6f2595120 100644
--- a/Completion/Core/_sep_parts
+++ b/Completion/Core/_sep_parts
@@ -18,7 +18,7 @@
 # `-X explanation' options.
 
 local str arr sep test testarr tmparr prefix suffixes matchers autosuffix
-local matchflags opt group expl nm=$compstate[nmatches] opre osuf
+local matchflags opt group expl nm=$compstate[nmatches]
 
 # Get the options.
 
@@ -34,8 +34,6 @@ shift OPTIND-1
 
 # Get the string from the line.
 
-opre="$PREFIX"
-osuf="$SUFFIX"
 str="$PREFIX$SUFFIX"
 SUFFIX=""
 prefix=""
@@ -146,8 +144,6 @@ done
 
 # Add the matches for each of the suffixes.
 
-PREFIX="$pre"
-SUFFIX="$suf"
 for i in "$suffixes[@]"; do
   compadd -U "$group[@]" "$expl[@]" "$matchers[@]" "$autosuffix[@]" \
           -i "$IPREFIX" -I "$ISUFFIX" -p "$prefix" -s "$i" - "$testarr[@]"