[Linux-disciples] trouble with .bashrc

Stephen R Laniel steve at laniels.org
Sun Nov 7 00:25:22 EST 2004


On Sun, Nov 07, 2004 at 12:23:22AM -0500, Jamie Forrest wrote:
> alias cp='cp -i'
> alias mv='mv -i'
> 
> I put this in a .bashrc file in my ~/ directory, with -rwxr-xr-x  
> permissions.  But when i use cp and mv, I don't get the prompt, even 
> when I restart the shell (Terminal program).

Did bash reload the aliases? To make it do so, you either
have to restart the terminal or type

source .bashrc

(equivalent, incidentally, to '. .bashrc')

You probably already knew this, but I thought I'd mention
it.

(I'll vouch for Jamie, by the way. He's cool shit.)

-- 
``Here, at last, are the cats.''
 -Cosma Shalizi, 	http://shorl.com/bastojepikyfro



More information about the Linux-disciples mailing list