Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 'login' vs 'interactive' ?



Just noted a small flaw in the FAQ:

Am 18.11.2014 um 17:39 schrieb Peter Stephenson:
> 
>> 2) is 'login' vs 'interactive' similar to "every square is a rectangle
>> but a rectangle is not necessarily a square"?
>>
>> As in "Every login shell is interactive, but an interactive shell is
>> not necessarily a login shell"?
> 
> Not necessarily, in fact, because neither of the two points above is a
> subset of the other.  For example, something managing the way your
> window system starts may decide to launch the shell that sets up the
> environment as a login shell, but without a terminal.

vs (from the FAQ-excerpt you quoted)

>   All login shells are interactive.


- René



Messages sorted by: Reverse Date, Date, Thread, Author