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

Re: Is this possible with zsh?



On Sunday 16 October 2005 09:06, Meino Christian Cramer wrote:
> Hi,
>
>  Most of the time I am working under an X11-Environment with a
>  windowmanager. Therefore I have no real login shell. Therefore^2 :)
>  there is no execution of zlogout for me, since I login into X11
>  directly (no "startx" from the console).
>
>
>  Is it possible to "shell-program" or configure any neat trick (you
>  see, I am missing the right words here...) that "something" will be
>  executed, when the last of the non-login-shells, which are running
>  under my uid, is sclosed ?
>

Why not use custom ~/.xsession with content similar to

/etc/X11/Xsession "$@"
Post-processing code ...

Path to real Xsession may vary of course. Or if you always start specific 
environment, simply

startkde3
Post-process ...

-andrey 

Attachment: pgpI1xb1fUENC.pgp
Description: PGP signature



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