Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aliases
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Primoz
n00b
n00b


Joined: 24 Jul 2005
Posts: 7

PostPosted: Mon Aug 08, 2005 12:21 pm    Post subject: aliases Reply with quote

I edited my /etc/bashrc but my aliases are not working. Need some help here please...
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Mon Aug 08, 2005 12:28 pm    Post subject: Reply with quote

Indeed.

It will only work if bash has had the possibility to re-read it after saving.
Did you do a fresh login since editing?
Alternatively, you can do a "source .bashrc"

Do you get any errors when you do?
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Primoz
n00b
n00b


Joined: 24 Jul 2005
Posts: 7

PostPosted: Mon Aug 08, 2005 12:48 pm    Post subject: Reply with quote

I did a fresh login/reboot, it doesnt help.
"source .bashrc" does the trick, no errors.

It's puzzling me...
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Mon Aug 08, 2005 2:12 pm    Post subject: Reply with quote

Sorry, I misread your first post and thought you meant .bashrc instead of /etc/bashrc.
You would of course have to "source" the file you edited.

AFAIK Gentoos bash setup doesn't use /etc/bashrc anymore, try /etc/bash/bashrc instead.

Also, posting the stuff you edited really could help.
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Primoz
n00b
n00b


Joined: 24 Jul 2005
Posts: 7

PostPosted: Mon Aug 08, 2005 9:49 pm    Post subject: Reply with quote

Well that certainly explained a lot :D
Thanks for the help, I edited the wrong file :oops:
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Mon Aug 08, 2005 10:26 pm    Post subject: Reply with quote

Glad I could help, though I didn't do anything really :D
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum