סימן נז סעיף ה
בֵּרַךְ עַל הַשֵּׁכָר וְנִתְכַּוֵּן לִפְטוֹר כָּל מַה שֶּׁיָּבִיאוּ לוֹ מִבִּרְכַּת שֶׁהַכֹּל, וְהֵבִיאוּ לוֹ דָּגִים, אֵינוֹ צָרִיךְ לְבָרֵךְ עַל הַדָּגִים. אֲבָל אִם הָיְתָה דַּעְתּוֹ סְתָם, אֲפִלּוּ אִם בְּשָׁעָה שֶׁהֵבִיאוּ לוֹ אֶת הַדָּגִים עֲדַיִן הָיָה שֵׁכָר לְפָנָיו, מִכָּל מָקוֹם צָרִיךְ לְבָרֵךְ עַל הַדָּגִים. וְלֹא דָּמִי לְפֵּרוֹת, אֲפִלּוּ שֶׁאֵלוּ תַּפּוּחִים וְאֵלּוּ אֱגוֹזִים, מִכָּל מָקוֹם הַכֹּל מִין אֹכֶל הוּא. אֲבָל שֵׁכָר וְדָגִים הֵמָּה לְגַמְרֵי שְׁנֵי מִינִים מְחֻלָּקִים. זֶה אֹכֶל וְזֶה מַשְׁקֶה, וְאֵינָן פּוֹטְרִין זֶה אֶת זֶה, אֶלָּא אִם כֵּן הָיו לְפָנָיו בִּשְׁעַת בְּרָכָה, אוֹ שֶׁהָיְתָה דַּעְתּוֹ עֲלֵיהֶם (סִימָן ר"ו).
If you say the berachah [Shehakol] over beer, with the intention that the berachah should exempt all other articles of food that require the berachah, Shehakol, and then fish is brought [to the table], you need not repeat the berachah over the fish. [If, however, when saying the berachah,] you did not think [about any food that might be served later], then, even if at the time the fish is served there is still some beer left, you must say the berachah over the fish. This case cannot be compared to the case of the [different] fruits, where, even though one of the fruits is an apple and the other nuts, both belong to the same category of food, whereas, beer and fish are two entirely different kinds of food, one is food, the other a beverage. [Even though both require the berachah Shehakol] the one cannot exempt the other, unless they are both on the table when you recite the berachah, or you had the intention to exempt it.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)