From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 1 16:44:13 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8DCE16A523 for ; Sat, 1 Jul 2006 16:44:13 +0000 (UTC) (envelope-from andrew@areilly.bpc-users.org) Received: from omta04sl.mx.bigpond.com (omta04sl.mx.bigpond.com [144.140.93.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC61E43F1A for ; Sat, 1 Jul 2006 16:41:28 +0000 (GMT) (envelope-from andrew@areilly.bpc-users.org) Received: from areilly.bpa.nu ([141.168.7.22]) by omta04sl.mx.bigpond.com with ESMTP id <20060701164126.EAGW7229.omta04sl.mx.bigpond.com@areilly.bpa.nu> for ; Sat, 1 Jul 2006 16:41:26 +0000 Received: (qmail 32526 invoked by uid 501); 1 Jul 2006 07:47:30 -0000 Date: Sat, 1 Jul 2006 17:47:30 +1000 From: Andrew Reilly To: Gobbledegeek Message-ID: <20060701074730.GB8222@duncan.reilly.home> References: <463aea570606292249y482107daxcc965000c22ae0ae@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <463aea570606292249y482107daxcc965000c22ae0ae@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@freebsd.org Subject: Re: alias command does not work X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 16:44:13 -0000 On Fri, Jun 30, 2006 at 11:19:46AM +0530, Gobbledegeek wrote: > alias vi=/usr/local/bin/vim > or alias vi='/usr/local/bin/vim' > > does not work. I am using bash shell Both of those certainly do work, if you're using bash: I've just checked. So I suspect that you're not actually using bash. What does your user's entry in /etc/passwd say? Is bash listed in /etc/shells? What happens when you run "/usr/local/bin/bash -login"? Do you get bash then? If you're convinced you are running bash, and you enter either of those alias lines that you've mentioned, what does "type vi" say? Don't worry about the die-hards who advocate tcsh (the default FreeBSD shell). Csh syntax was proven to cause brain damage long ago :-) Cheers, -- Andrew