Re: bash and bashrc...

John Crowhurst <[email protected]>
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
Create a .bash_profile with:

. ~/.bashrc

And that should solve your problem.

Best,

John

On 22/04/2012 15: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
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.