[Gllug] Putting 'who' info in prompt...

Andrew Roberts ar at nooneishere.co.uk
Thu Mar 4 12:44:35 UTC 2004


On Thu, 4 Mar 2004 12:26:02 +0000, Dylan <dylan at dylan.me.uk> wrote:

> Does anyone know a way to get an indication in the prompt as to, for
> example, how many sessions are logged into a machine?

who -q  might be helpful. zsh also allows a right-hand side prompt, which 
would be ideal for this sort of thing.

Regards,
-- 
Andrew Roberts                              ASCII ribbon campaign /"\
ar AT nooneishere.co.uk                      - against HTML email \ /
+44 (0)7968 199063                            http://arc.pasp.de/  X
================================================================= / \
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list