Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Anyone familiar with auto-fu.zsh project?
- X-seq: zsh-users 23476
- From: dana <dana@xxxxxxx>
- To: Eric Freese <ericdfreese@xxxxxxxxx>
- Subject: Re: Anyone familiar with auto-fu.zsh project?
- Date: Wed, 13 Jun 2018 02:26:47 -0500
- Cc: Zsh Users <zsh-users@xxxxxxx>
- 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=lu90QuqsUoB1+kVq8soUXDuOmrx1sDkb3E8n0CbhXsg=; b=JYe0p/smuQghSn3lUOfwGoJKYeHWsPR/Goq9GuAIP8bWblNxh5n0YKVqkWsGM0GHp9 J9ge+vE4EH+UQGje3x2vplUdGmmsNDoSfasTEFZ5BKXzC70GoVeSV0NsGC/UC86AdaNK ImbS8SS5mbkxWBBhOeGfHhoa99PcGQ/2IMiAHiTK/BVoLBjbIuBRQ2AejdMohvRL4gt5 Jka0i3iKzwetlXr8KosvnLd8CnVri5vjH0mHJyXehAFQmQR/uKRw/EP1SmRDpADHlmMz lUV5/L5rwuiyFp/rZaqIQwXEIPvl7ZobJelBEPgnE5F1DfvDeyktjGtGSx5lZlknkNvc HeVQ==
- In-reply-to: <CAAikoAJYE=vyLUpwZcG4j85ENxqVVfRqDSFms1dOFUTzx52Pig@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCu_L1Sgsp281KuvXUuMkkGvxs8D1dJAmVcBxm7RnJLwA@mail.gmail.com> <CAAikoA+iGXVQXGfRP-RepefEc+FAG0+brAVcPjp5p=969+j7Kg@mail.gmail.com> <CAKc7PVDe29JSCEeXU7F_dqG5a7TvfTz=sP3=4nDLOm1jQOxFnA@mail.gmail.com> <CAAikoAK3SdfCmK=sEpfG=DP2dEvcVL1V-rw1hRiQLGzuvE=ZvA@mail.gmail.com> <CAKc7PVDYO6qfraO_Xdgiu+CRemZPRMUnerThxNM9jx53KPGTRw@mail.gmail.com> <CAAikoAJdJ-K-QCuKXn_i5FQFNDgYwJwFD8wbqGe5syNeyQUNxA@mail.gmail.com> <CAKc7PVAqDeV_Pnkx6rHeYGwT9f+M+LT9Qp0MBkoLkAcarF-BLg@mail.gmail.com> <CGME20180612015719epcas5p34a5f79f58e821488853b6a7eceba7ec8@epcas5p3.samsung.com> <CAAikoA+93yDK4F-=ogf8HpheVeLG59LeeHGEgk4dCURoGhFZfw@mail.gmail.com> <20180612113257eucas1p2342f735bcea27bb1009aee1b23c682f0~3ZmPbMrh61839118391eucas1p2G@eucas1p2.samsung.com> <CAAikoAJYE=vyLUpwZcG4j85ENxqVVfRqDSFms1dOFUTzx52Pig@mail.gmail.com>
On 12 Jun 2018, at 23:09, Eric Freese <ericdfreese@xxxxxxxxx> wrote:
>Is it possible to get the current subshell's pid without having to load the
>zsh/system module ($sysparams param)? Bash seems to have the $BASHPID
>variable. Is there anything like that in zsh core?
I asked about that as well once and sysparams was the only suggestion i got.
On 12 Jun 2018, at 23:09, Eric Freese <ericdfreese@xxxxxxxxx> wrote:
>Or, alternatively, is it reasonable to assume that everyone will be able to
>load the zsh/system module? Background here is that I had a user send a
>pull request to zsh-autosuggestions requesting we don't depend on zsh/zpty
>module since some people may not have it installed, so I'm trying to
>minimize dependencies on non-core modules.
I'm pretty sure that was me. And no, you can't assume that users will have
zsh/system. Which modules are available to zsh is up to the packager, but these
are the ones that are linked by default with --disable-dynamic:
zsh/compctl
zsh/complete
zsh/complist
zsh/computil
zsh/datetime
zsh/main
zsh/parameter
zsh/rlimits
zsh/sched
zsh/termcap
zsh/zle
zsh/zleparameter
zsh/zutil
So i think those are essentially the 'core' modules. You can probably include
zsh/langinfo and zsh/terminfo in most cases too. Those are the ones i had on the
system that inspired that PR, anyway.
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author