yellowprotoss <[email protected]> writes:
> I do this 
> # exec irpsion5 -s reboots.log 
> No IRDA device found

"exec" replaces the current shell with the new command. Its history is
lost. If you don't use "exec" you should be able to still access its
history.

> In stable, it works nicely those failed command and pressing up
> arrow on keyboard can show the bash history failed or not :(

I don't see this in stable. Here's a transcript:

li...@sauna:~$ sh          ## I start a new subshell
sh-3.2$ exec false         ## I 'exec' a command that always fails
li...@sauna:~$ sh          ## I have hit up, it surely does not show false in 
history.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to