From owner-freebsd-questions@freebsd.org Mon May 23 21:54:07 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97E6AB47EFC for ; Mon, 23 May 2016 21:54:07 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA HLL ISSUER 01" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D1941033 for ; Mon, 23 May 2016 21:54:07 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id F026B62205; Mon, 23 May 2016 17:53:59 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kD23iyIjCHlz; Mon, 23 May 2016 17:53:58 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 86466620CE; Mon, 23 May 2016 17:53:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1464040438; bh=+EFMIjpZMutJdk3wrXGsR3iQQ9xDflqQlazV2jsZNgU=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=k3ifzeHm2MsPEmBRMOe5HoNQNCMYUXCgJK9QErW0Xhb1caqJxk9tRIQgvL/KDmTmB xM0jOVmIIMuncZjETbXWcB8tqJyCeC3IGTXosEWScRThyzFo+dI3ek7pikSXMEoESQ uPDj59PUtPeEdIuD04pff+O7+UkqA98WrKw695J2Vx6XfMmRuNGpzxqKEjPshkK88w Wv7oCkGrLgbd4TMybCyrXZnMLdsbynOtsTYTp0dUWGk+7ruDocUyB8AdQ7hJBuHp7g Y8Him29rDacozjZsbNiotGii5rwioN+j+DvfNQTV1XUlO0GEjAGnd2qkfLRvArq1pT wGtXAcn9fdc5Q== Received: from 216.185.71.241 (SquirrelMail authenticated user byrnejb) by webmail.harte-lyne.ca with HTTP; Mon, 23 May 2016 17:53:58 -0400 Message-ID: <3af2165af282dda6d359a75658b5eb76.squirrel@webmail.harte-lyne.ca> In-Reply-To: <8BB2F467-B862-4B07-939C-B3758ED3DD31@gmail.com> References: <8BB2F467-B862-4B07-939C-B3758ED3DD31@gmail.com> Date: Mon, 23 May 2016 17:53:58 -0400 Subject: Re: history utility From: "James B. Byrne" To: "Oscar Hodgson" Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2016 21:54:07 -0000 On Mon, May 23, 2016 11:26, Oscar Hodgson wrote: > >> On May 20, 2016, at 2:17 PM, James B. Byrne >> wrote: >> >> As is no doubt obvious from what I am trying to do I come from a >> bash >> background. > > Probably evil, but this in .cshrc works for me: > > if ($?prompt) then > if ( -x /usr/local/bin/bash ) then > echo Switching to bash > exec /usr/local/bin/bash --login > fi > endif > > I have done worse. Thks. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3