Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
defining real time variables for a shell
- X-seq: zsh-users 8612
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: defining real time variables for a shell
- Date: Sun, 20 Mar 2005 18:05:59 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi zshellers
What would be a good way to define in a shell a variable for say currencies
like I want to define $USD as 1.33 and $GBP as 1.44 for example.
These values need to be updated at least daily and must be
available to shells that are already open (I use screen and am
lazy).
I am thinking maybe to use a preexec function that parses a file
with the values.
Thanks!
--
Eric Smith
Messages sorted by:
Reverse Date,
Date,
Thread,
Author