Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Change terminal cursor shape from precmd()
- X-seq: zsh-users 22854
- From: Tomasz Moskal <boojum@xxxxxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Change terminal cursor shape from precmd()
- Date: Thu, 24 Aug 2017 09:50:49 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stercus-accidit.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=C7nrvNXbo2sr7Oma+ePCLJ17k9MMaAMKQJf7zxQlAFw=; b=HzXmivmY5r1Nyx4/RRxhOVbW6dBFFJrlW40PM/HuRE2oA/PQdYc5cFwOtodGoQC9hN IIZcK+Qp9A0B87or9gpQxEn47gVXBggyXWpCo5HJzb1hIA/6SX3AXtBt2JZuWDDrOiMs hDWoTbXVF69DaE9Vqh3wyproJPfPb4R1P5gHs=
- In-reply-to: <1503508934.2259468.1082721952.1C3E86FB@webmail.messagingengine.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>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CACfAdfan-pGMWXAqL28Z0sVymODmSxjSXzyHnx3j2vBjFeTS8A@mail.gmail.com> <1503508934.2259468.1082721952.1C3E86FB@webmail.messagingengine.com>
On 23 August 2017 at 18:22, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> Works for me in xfce4-terminal and in xterm in 'zsh -f'.
>
> If you run 'which precmd' at the interactive prompt, does it show this
> function or something else? (If something else: see precmd_functions)
>
> (Also, zle-line-init might be a better place to put this in)
>
Eh, it was my own idiocy - after symlinking my user zsh config to root's
one it all works as intended. Obviously, cominit is complaining about
insecure directories. So symlinking is out of the question, as is comptinit
-u. Sourcing zsh user startup files from root startup files is fine but a
bit tedious in case of various helper functions (many separate files). I
don't want to touch global zsh startup files and overload them with my
personal settings either. My new question is:
How do you folks share (if you do) your user zsh startup files with root's?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author