Re: enviroment variable lost value

2009-06-11 Thread Pierre Gaston
On Wed, Jun 10, 2009 at 12:44 PM, Xiaoqiang Zheng wrote: > > From: root > To: bug-bash@gnu.org > Subject: [50 character or so descriptive subject here (for reference)] > > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: linux-gnu > Compiler: i686-pc-linux-g

Inconsistent results when history -s is used within PROMPT_COMMAND

2009-06-11 Thread dennis
Configuration Information [Automatically generated, do not change]: Machine: i486OS: linux-gnuCompiler: gccCompilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash

Command completion within command substitution

2009-06-11 Thread stijnvandongen
(previously posted on comp.unix.shell, to no avail. I hope the question is clear) I have a function called 'a' that has command completion associated with it. This works. I would like it to complete as well within command substitution, so that 'prompt> cp zut $(a foob)' will complete to foobar in

enviroment variable lost value

2009-06-11 Thread Xiaoqiang Zheng
From: root To: bug-bash@gnu.org Subject: [50 character or so descriptive subject here (for reference)] Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: i686-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF