history utility

James B. Byrne byrnejb at harte-lyne.ca
Mon May 23 21:54:07 UTC 2016


On Mon, May 23, 2016 11:26, Oscar Hodgson wrote:
>
>> On May 20, 2016, at 2:17 PM, James B. Byrne <byrnejb at harte-lyne.ca>
>> 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 at 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



More information about the freebsd-questions mailing list