Re: [freebsd-questions] Dangers of using a non-base shell

2007-10-31 Thread Giorgos Keramidas
On 2007-10-30 20:39, Howard Jones <[EMAIL PROTECTED]> wrote: > Benjamin M. A'Lee wrote: >> You could possibly also put "bash -l && exit" in your .shrc, which would >> exit if bash exited successfully. I haven't tested it, but it should >> work. > > or 'exec bash -l' which will replace the existing

Re: [freebsd-questions] Dangers of using a non-base shell

2007-10-30 Thread Benjamin M. A'Lee
On Tue, Oct 30, 2007 at 08:39:00PM +, Howard Jones wrote: > Benjamin M. A'Lee wrote: >> You could possibly also put "bash -l && exit" in your .shrc, which would >> exit if bash exited successfully. I haven't tested it, but it should >> work. >> > or 'exec bash -l' which will replace the exis

Re: [freebsd-questions] Dangers of using a non-base shell

2007-10-30 Thread Howard Jones
Benjamin M. A'Lee wrote: You could possibly also put "bash -l && exit" in your .shrc, which would exit if bash exited successfully. I haven't tested it, but it should work. or 'exec bash -l' which will replace the existing shell with bash in memory, rather than run it from it as a subprocess.