galaxy3001 Posted August 18, 2004 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? Link to comment Share on other sites More sharing options...
PMo6022 Posted August 18, 2004 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. Link to comment Share on other sites More sharing options...
ramfree17 Posted August 19, 2004 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! Link to comment Share on other sites More sharing options...
bvc Posted August 19, 2004 Share Posted August 19, 2004 it'll be global, but make a script <whatever.sh> and put it in /etc/profile.d Link to comment Share on other sites More sharing options...
Cannonfodder Posted August 19, 2004 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? Link to comment Share on other sites More sharing options...
thinkliberty Posted August 19, 2004 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 Link to comment Share on other sites More sharing options...
bvc Posted August 19, 2004 Share Posted August 19, 2004 ooo.....how'd I miss that one? thanks! :woops: Link to comment Share on other sites More sharing options...
galaxy3001 Posted August 20, 2004 Author Share Posted August 20, 2004 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now