From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5150 invoked by alias); 13 Jun 2018 09:17:12 -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: 23481 Received: (qmail 7043 invoked by uid 1010); 13 Jun 2018 09:17:12 -0000 X-Qmail-Scanner-Diagnostics: from mail-it0-f54.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.214.54):SA:0(-1.9/5.0):. Processed in 0.840685 secs); 13 Jun 2018 09:17:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_PASS,T_DKIMWL_WL_MED,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qYBg6WbcFZ4/piCOzzYTEAkbROBZYZ4Wv3aGDbCuce0=; b=naNELFp/GsLzMVNhh357exf5fvFzAujmSMOTCeBYlJxHy9qrf7Su2wH3+HyKjGsGO1 otn7dND6FikpagCAAAeLM+YExQTDpxTs20zr0Yj4F5qVV4CAtKEdSPxU8tpCkJtpEQ18 wOeIFJlhtsxLFt3rAgmfOukUbtqcBse96pn6k6oi/e5vlkk1XOKVy7GmpPGJ/LyANB2r cWhYUBx3bpGMOUhatwbE3OXsURfVUu2rQrkkuuUtq9RjAyLhaQNp1wV2tSMBLMY26Jwy KyC7Qvut+/ZxbGPKmTWGoF2mQs2Q++f5QFmF8qnrRQRdtwE/5iRyCxv0RPHwj0umxTUn uFnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qYBg6WbcFZ4/piCOzzYTEAkbROBZYZ4Wv3aGDbCuce0=; b=jbXuhtdtCyPXMgi0p5tjm4YR6CMoQu+g/bQG2yYrWQk2fZwPq+7M8w5LPp+aheqFDP 3S1pv8QRK99WmvvFj/dPaFfVGmUTxd2daYPhXLfFmik7hhb1j8VwQWshD9xwaMaWrORl IAXJ5JH0Xu/fYp86jSypF0aQd22Ir9JIY+AehxnQDkZnmEbS678t7A5RFLjyIzbbXw/o rrmBc7HciibjNysQtZoREx1bNOnxy4uUBgnmFgfvpxrsaL4GVV3wYA0kgDXuNI8HKiCA qE61GGomdKjruJbVr4DSajh2uleWle9nU8mz5RfjxiCzsJ2b0KsAxWCzJ2XoalNOsGDj sJ1Q== X-Gm-Message-State: APt69E2hfw8bVcSMZTIhc3Pp30x6I8zX0VWTIwmcyFoZynmm0qECTR38 WlMGWEWOac9qI9zwnswz4nqwnA== X-Google-Smtp-Source: ADUXVKJguZ6xMBpsJD99RXCf20pHkyk1swBKuAr63wup/6lu9L48NPO6j032eLChXdJefLBiOmSZug== X-Received: by 2002:a24:dd3:: with SMTP id 202-v6mr3876442itx.85.1528881429391; Wed, 13 Jun 2018 02:17:09 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Anyone familiar with auto-fu.zsh project? From: dana In-Reply-To: Date: Wed, 13 Jun 2018 04:17:07 -0500 Cc: Zsh Users Content-Transfer-Encoding: quoted-printable Message-Id: <509610AF-065C-4D55-B353-CDDE6E85176C@dana.is> References: <20180612113257eucas1p2342f735bcea27bb1009aee1b23c682f0~3ZmPbMrh61839118391eucas1p2G@eucas1p2.samsung.com> <5DD9F0D4-8348-4707-AE6B-1D47AE58FD2D@dana.is> To: Sebastian Gniazdowski X-Mailer: Apple Mail (2.3273) On 13 Jun 2018, at 03:28, Sebastian Gniazdowski = wrote: >Wonder why ":" is needed, to gettpid be not the last command. Presumably because zsh optimises out the fork() for the last command. Anyway i don't actually think you should use that, lol. If you really = don't have zsh/system you should be able to use ${${:-/proc/self}:A:t} on Linux = (and NetBSD and Solaris). I bet that covers 99% of users =E2=80=94 i doubt many = people are using static zsh on Macs for example. dana