Re: bash and bashrc...SOLVED
Insomniactoo <[email protected]>
| Newsgroups | gmane.linux.slackware |
|---|---|
| Message-ID | <[email protected]> |
On Sunday, 22 April 2012 09:10 Insomniactoo wrote: > Hi gang, > > I've made up (actually it's a stolen very small part of an bashrc I found > on my openSUSE partition that I like a heck of a lot) a small bashrc. > > I saved it in my /home dir as a hidden file as .bashrc > > Unfortunately it's not being read or used by bash. > > Where should I put this thing or label it to have bash read it and use it > as needed? > > Here's what it holds: > > ----- > # > # Set some generic aliases > # > alias o='less' > alias ..='cd ..' > alias ...='cd ../..' > alias cd..='cd ..' > alias rd=rmdir > alias md='mkdir -p' > ----- > > Thanks for any help with this. I've read man bash but it's an awful lot > to figure out and wasn't much help. > > JB Thanks everyone for the replies, I found the answer I needed before I read your replies but forgot to say it was 'solved'. I found something in linuxquestions.com IIRR about ten minutes after I posted my question/original post and it said to simply make it a .bash_profile instead of .bashrc and to just place it in my /home dir. Works like I want now. Thanks again, and btw @Claudio - You're right, I only need three of those in the list and not the last two which could really mess things up if I forgot they were an alias, heh. JB -- Powered by Slackware 13.37 10:44:48 up 1:03, 2 users, load average: 0.86, 0.70, 1.49 Properly read, the Bible is the most potent force for atheism ever conceived. - Isaac Asimov Registered Linux user #214117 at http://linuxcounter.net