Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Anyone familiar with auto-fu.zsh project?
On 13 Jun 2018, at 03:28, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> 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 — i doubt many people are using
static zsh on Macs for example.
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author