On Mon 03 Oct 2011 08:05:26 AM PDT, Patrick Haller wrote:
> update_config() { [ `mtime $cfg` -gt `mtime $history` ] && . $cfg
> ; }
> export PS1='`update_config`> '

Never heard of mtime(1).  Is that POSIX sh?  This is:

update_config() { [ $cfg -nt $history ] && . $cfg ; }

-- 
Waste not fresh tears over old griefs.
                -- Euripides

Attachment: signature.asc
Description: PGP signature

Reply via email to