use get_local_var_value() rather than getenv() when working with PS1/PS2/HOME, respec...
authorMike Frysinger <vapier@gentoo.org>
Fri, 24 Apr 2009 06:26:18 +0000 (06:26 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 24 Apr 2009 06:26:18 +0000 (06:26 -0000)
commit67c1c7b456f18fe397ab0dfad92f13b5080b0c52
tree6eba76c785aea835a7b070729fea630b894e4d90
parenteb4e5ecc321cdb2bcfabf0f94c40bdb9690b48f4
use get_local_var_value() rather than getenv() when working with PS1/PS2/HOME, respect the PS2 env var, and make sure that the prompt changes whenever PS1/PS2 changes so we dont have to re-exec the shell to get a changed prompt
shell/hush.c