galaxy3001 Posted August 18, 2004 Report Share Posted August 18, 2004 I used to have alias in .bashrc: alias rm='rm -f' that does rm without asking. But it seems no longer work in Mdk 10.0. Does bash no longer allow command overwriting using .bashrc? anyone noticed same behavior? Quote Link to comment Share on other sites More sharing options...
PMo6022 Posted August 18, 2004 Report Share Posted August 18, 2004 I've seen the same thing happening in mdk10.0. I put an alias in .bash_profile, and .bashrc without success. Let me know if you figure out a solution. Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted August 19, 2004 Report Share Posted August 19, 2004 all my aliases in .bashrc seems to work. rm is aliased to 'rm -rf'. im one insane and lazy loonixer. ciao! Quote Link to comment Share on other sites More sharing options...
bvc Posted August 19, 2004 Report Share Posted August 19, 2004 it'll be global, but make a script <whatever.sh> and put it in /etc/profile.d Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted August 19, 2004 Report Share Posted August 19, 2004 I used to have alias in .bashrc: alias rm='rm -f' that does rm without asking. But it seems no longer work in Mdk 10.0. Does bash no longer allow command overwriting using .bashrc? anyone noticed same behavior? <{POST_SNAPBACK}> Do you mean that if you open a console and type in alias rm='rm -f' and then try rm, it doesn't work? what happens if you open a console and just type alias is the rm command redefined? Quote Link to comment Share on other sites More sharing options...
thinkliberty Posted August 19, 2004 Report Share Posted August 19, 2004 I've seen the same thing happening in mdk10.0. I put an alias in .bash_profile, and .bashrc without success. Let me know if you figure out a solution. <{POST_SNAPBACK}> You need to making a file .alias in your home directory... See the file /etc/profile.d/alias.sh # Linux-Mandrake configuration: Chmouel Boudjnah <chmouel@mandrakesoft.com> # # Common Aliases for a system. # # The Semantic is : # If exist a ~/.alias and the user hasn't specified a # LOAD_SYSTEM_ALIAS variables then don't do any system aliases # If there is no ~/.alias but the user has specified a # IGNORE_SYSTEM_ALIASES then don't do any system aliases. Use it as a template for your /home/<your user name here>/.alias file Quote Link to comment Share on other sites More sharing options...
bvc Posted August 19, 2004 Report Share Posted August 19, 2004 ooo.....how'd I miss that one? thanks! :woops: Quote Link to comment Share on other sites More sharing options...
galaxy3001 Posted August 20, 2004 Author Report Share Posted August 20, 2004 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.