zsh-users
 help / color / mirror / code / Atom feed
* defining real time variables for a shell
@ 2005-03-20 17:05 Eric Smith
  2005-03-20 18:29 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Smith @ 2005-03-20 17:05 UTC (permalink / raw)
  To: Zsh Users

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-20 22:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-20 17:05 defining real time variables for a shell Eric Smith
2005-03-20 18:29 ` Bart Schaefer
     [not found]   ` <20050320190854.GC26316@fruitcom.com>
     [not found]     ` <050320115822.ZM9627@candle.brasslantern.com>
2005-03-20 20:09       ` Eric Smith - Fruitcom
2005-03-20 22:04         ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).