Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Executing command on reattaching to screen session
- X-seq: zsh-users 18437
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- Subject: Re: Executing command on reattaching to screen session
- Date: Thu, 13 Feb 2014 09:35:15 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:cc:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=j0ojLGveU8q5BqwO0MISWS YVtlg=; b=eBzS2tidugUkB++WWsFjJbWSj48aDggV5PQjinqgYxSM/WSJgXHt8O O45E6o4unULQlvKqDVx3LVTbAZd1Iho4tdTwrlsiwFsc7TlVTpgQbNivDmX6Lhs9 R42DVZsXJl7uuEqYvdZ8e5lxZLzmYNAhiASiFQ8zFN+wSg6AdmV18=
- In-reply-to: <CABABwVHthcFhxh0uX+HsVx_gPiZKDex8PjJvKvoyb4SizWZr6A@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <ld0k6c$a3a$1@ger.gmane.org> <CABABwVHthcFhxh0uX+HsVx_gPiZKDex8PjJvKvoyb4SizWZr6A@mail.gmail.com>
Thursday, February 13, 2014, 8:32:57 AM, you wrote:
> As a side note: if you do this un Ubuntu and expect motd to show the
> current system load and such you'll be disappointed. It will update
> /etc/motd only on login.
That's correct. Ubuntu was actually the targeted distribution for my
question. Fortunately byobu allows to display the system load
dynamically in the status line, so there is no need for a hackish way
to update motd with that stats.
For the motd part itself, I use "run-parts --lsbsysinit
/etc/update-motd.d" instead of a simple "cat /etc/motd".
Thorsten
Messages sorted by:
Reverse Date,
Date,
Thread,
Author