Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ -o interactive ]] vs if [[ -o login ]]?
On 2011-08-14 17:12:48 -0700, Bart Schaefer wrote:
> The intent is that certain environment setup can be done once when the
> user first logs in, and then not done again. Under a windowing system,
> the session manager is usually responsible for that one-time setup, but
> for remote shells it may still be useful to have the shell do it.
But since non-interactive shells aren't normally login shells, one may
need to set up the environment directly from the .zshenv file. This is
useful when running commands via ssh:
ssh host some_command_started_by_zsh
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author