Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh and xterm
- X-seq: zsh-users 11868
- From: "Matt Wozniski" <godlygeek@xxxxxxxxx>
- To: "Yurkov Vyacheslav" <UVV-mail@xxxxxxxxx>
- Subject: Re: zsh and xterm
- Date: Sat, 22 Sep 2007 01:10:12 -0400
- Cc: zsh-users@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RuobmX4UOJ87N2A8eayXw3hPdtvcdPA1hDX9eChn7uM=; b=JGkI/BB2omt97Idw6UmGvBXxP0soSoClI5Z3UPJiEob40tWCB9nReKYXtNuv/ckQ7u3SbZ2Z/Rfuzs5tLPE5+/flPZS96jfNvv6VTD7yRqKrEfdQrddcf3c3InUUfnC+yhsOw+jbj01rLJoblDaASDAcjfc8jedhamd9aK5rYsY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QYKxQxiJn3pRtCY76bomBj5/k2+UpoKncInobqxsgEyEwSt6uknVxW5/msy9c6Is28kP4gZ9PrboQ7hwM90IvU8PGtpqYHrl9lSKz9JZbE91Cxl5ixEz+7cWuEIMNNw5Dg3PbaD/snyvshUGpcMEY7BhFVYhJyimTlpBKm7r0xc=
- In-reply-to: <46F4878F.7080800@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <46F4878F.7080800@xxxxxxxxx>
On 9/21/07, Yurkov Vyacheslav <UVV-mail@xxxxxxxxx> wrote:
> Hi!
> When I use xterm as terminal emulator it seems to me that it calls zsh
> as non-login shell because my /etc/profile.d scripts not executed.
> How can I fix that problem?
To make xterm start a login shell, use
xterm -ls
However, on a semantics note, the files that are only run on login are
only run once for a reason: they're doing one-shot initialization like
setting up the path, ssh-agents, etc. So, running that stuff once per
shell is not really the way to go. Instead, you probably want to look
into making sure that your window manager begins its session from a
login shell.
~Matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author