Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2003 15:18:20 +0800
From:      Robert Storey <y2kbug@ms25.hinet.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: dot.bashrc, where is it?
Message-ID:  <20030604151820.7c775d94.y2kbug@ms25.hinet.net>
In-Reply-To: <000401c329d9$1afc72e0$bd2b6e94@lucy>
References:  <200306031321.h53DLacQ003274@peedub.jennejohn.org> <000401c329d9$1afc72e0$bd2b6e94@lucy>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Jun 2003 16:04:53 +0200
"Didier Wiroth" <freebsd@mcesr.etat.lu> wrote:


> For a beginner (coming from a windows world) who doesn't know which shell is
> better, sorry more adequate, it is easier to have a sample config file, to
> start learning how to configure you shell!
> 
> Didier

Dear Didier,

Here's what I've put in my ~/.bashrc for all users (including root):

  alias rm='rm -i'
  alias cp='cp -i'
  alias mv='mv -i'
  set -o noclobber


While you're at it, here's what I added to ~/.profile for everybody as well:

  PS1="\u@\h:\w> "
  export PS1

Let us know if you have any specific questions about what these commands do.

regards,
Robert





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030604151820.7c775d94.y2kbug>