bug-bash
[Top][All Lists]
Advanced

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

Process name into job control and trap DEBUG


From: Julien Allali
Subject: Process name into job control and trap DEBUG
Date: Fri, 04 Nov 2005 12:00:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1

Hy,
   I use to trap function as follow:

function histo(){
  history -a;
  history -r;
}

trap histo DEBUG

The bug is the following:
$ emacs &
$ jobs
[1]+  Running                 history -r &

In addition I would like to know if there is another way to force history to be synchronise after each command.

Thanks a lot for this great shell :)

Julien Allali.





reply via email to

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