Re: [dev] Make dmenu sensitive to user aliases ("Hello world")

From: Suraj N. Kurapati <sunaku_AT_gmail.com>
Date: Mon, 3 Oct 2011 11:42:01 -0700

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

Received on Mon Oct 03 2011 - 20:42:01 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 03 2011 - 20:48:04 CEST