Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ~/.zshenv or ~/.zprofile
- X-seq: zsh-users 6537
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: ~/.zshenv or ~/.zprofile
- Date: Mon, 8 Sep 2003 10:55:56 -0700
- In-reply-to: <20030908094729.GA13136@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030803221858.GA2720@xxxxxxxxxxxxxxxxxx> <20030803223949.GA18476@xxxxxxxxxxxxxxxx> <1030804060015.ZM15706@xxxxxxxxxxxxxxxxxxxxxxx> <20030907175710.GA28613@xxxxxxxxxxxxxxxx> <20030907212433.GA233@DervishD> <20030908032728.GH48339@xxxxxxxxxxxxxxxx> <20030908094729.GA13136@xxxxxxxxxxx>
On Mon, Sep 08, 2003 at 09:47:29AM +0000, Phil Pennock wrote:
> Similarly, I want to be able to do:
> % ssh some-host command-in-company-bin-dir -oPts |less
> and not have to worry about paths.
Another solution for that is to use ~/.ssh/environment (as long as the
"PermitUserEnvironment yes" option is set in the sshd_config file). It
also has the benefit of working regardless of what login shell you might
have on a particular machine.
In any case, I consider this "knowing what you're doing", since it is
necessary to protect the setting of such variables via something like
the checking of $SHLVL.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author