From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a641fe68 for ; Mon, 2 Sep 2019 13:59:21 +0000 (UTC) Received: (qmail 24043 invoked by alias); 2 Sep 2019 13:59:11 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24195 Received: (qmail 29748 invoked by uid 1010); 2 Sep 2019 13:59:11 -0000 X-Qmail-Scanner-Diagnostics: from st43p00im-ztbu10063701.me.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25559. spamassassin: 3.4.2. Clear:RC:0(17.58.63.178):SA:0(-2.7/5.0):. Processed in 3.070398 secs); 02 Sep 2019 13:59:11 -0000 X-Envelope-From: whereislelouch@icloud.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at icloud.com designates 17.58.63.178 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1567432713; bh=4XCUA22kPvFDMXEv7iQDA9aHutemnHOzoTq2g8CssXk=; h=From:Content-Type:Subject:Message-Id:Date:To; b=rpgQfi1sZgbTQZuEaKnt+7IufeuJ8Mpi+AeclwL2irJCQxFDgUbmFavmJIbfFMrJ8 95v1GZepYp0oCwbsCAZQ1EMJYFeWc+J0hfz9rwpq1vZDvCfEzyr8WiRyxXJn5kTFsc BgNayczEOOtBZD4jZI+xgT4unMyUXpBqfwEK+hwowpGG1s/uNu2DsxZp3poj8ncI31 Fh14CSIUbRVHPMwuF+BQE0m+MnLymocSwjSB2TneMrPRa+/RliSog5gEO7HvDMFeQC ZnU+CP8kpzWvpe417C1cE2W0mB/vCCkgdhsdj/E9NyI3lHJZqE1vQ/evMrCHT8IReK HRZCsjYoNTFUA== From: Aryn Starr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Weird behavior with redirecting stdin Message-Id: <3A161CB3-442A-4E0B-9A0E-1C62A72DF6DB@icloud.com> Date: Mon, 2 Sep 2019 18:28:27 +0430 To: zsh-users@zsh.org X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-09-02_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=603 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1909020158 With these functions: ``` fcm () { # Function for selecting a command interactively echo ${(F)commands} | fzf } teec () { # Dumbed down version of a function that both echoes and copies to = clipboard. (Current toy version just echoes.) local out=3D"$(