bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pre-command?


From: Noel Yap
Subject: Re: pre-command?
Date: Thu, 23 May 2002 06:05:28 -0700 (PDT)

--- Bauke Jan Douma <bjdouma@xs4all.nl> wrote:
> How can I have bash automatically execute a command
> just before command-line commands are executed?     
>  
> 
> I.e. bash sees a newline, needs to perform command,
> always performs pre-command first.

If you can get away with a post-command rather than a
pre-command, you might be able to use PROMPT_COMMAND. 
Otherwise, I don't know.

HTH,
Noel


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]