Fri, Jun 05, 2009 at 03:43:25PM -0400, Tony Baldwin wrote:
> I put
> alias rm='rm -i'
> in .bashrc
> but rm still removes without asking for confirmation.
Are you sure that ~/.bashrc is included at opening shell time?
Check if you have:
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
in your ~/.bash_profile
Cheers,
--
Marcin Rzepecki
m.rzepecki(at)iem.pw.edu.pl