Date: Wed, 29 Nov 2006 14:08:01 -0800 From: Chuck Swiger <cswiger@mac.com> To: Andrew Pantyukhin <infofarmer@FreeBSD.org> Cc: FreeBSD Questions <questions@FreeBSD.org> Subject: Re: Real-time command history sharing between interactive shells Message-ID: <550FEF24-3168-4EB6-836A-34985F37BE2A@mac.com> In-Reply-To: <cb5206420611291351g46f41159u926577bfe7f7edd3@mail.gmail.com> References: <cb5206420611290603v2f0a946bub5994f89b2ea0dd9@mail.gmail.com> <20061129213011.A32663@tribble.ilrt.bris.ac.uk> <cb5206420611291351g46f41159u926577bfe7f7edd3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 29, 2006, at 1:51 PM, Andrew Pantyukhin wrote: >> zsh is a pretty good interactive shell (it finally weaned me off >> tcsh), >> as well as supporting a full range of redirection and control >> constructs. You should look at that, in particular the >> set -o sharehistory >> option (which does half of what you're after). >> >> Combine this with a shared .history file and you should get the >> effect >> you're after. > > I think, I'll follow your advice. It's high time I forgot about > csh, but I wonder if you tried to change root's shell to zsh? ZSH is a remarkably good choice for a shell. It's as compatible with standard Bourne shell scripts as Bash is, only it also supports some nice options to help people familiar with CSH make the transition (ie, providing mechanisms to convert "setenv" to "export" and so forth). It works fine as root's shell, although I would encourage you to make sure that your toor account still works with /bin/sh, especially if / usr/local is on a different filesystem. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?550FEF24-3168-4EB6-836A-34985F37BE2A>