Re: bash alias ineffective?

2009-06-05 Thread Marcin Rzepecki
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

Re: bash alias ineffective?

2009-06-05 Thread Zhengquan Zhang
On 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. > > Why? you need to source it using . .bashrc or source .bashrc HTH, -- Zhengquan -- To UNSUBSCRIBE, email to debian-user-requ...@li

Re: bash alias ineffective?

2009-06-05 Thread Daryl Styrk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 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. > > Why? Log out of the shell and back in again. - -- Daryl Styrk Naples FL, USA -BE

bash alias ineffective?

2009-06-05 Thread Tony Baldwin
I put alias rm='rm -i' in .bashrc but rm still removes without asking for confirmation. Why? thanks tony -- http://www.baldwinsoftware.com free/open source software tcl yer os with a feather... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". T