Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple question [SOLVED]
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
mhelvens
Guru
Guru


Joined: 17 Mar 2005
Posts: 337
Location: The Netherlands

PostPosted: Thu Mar 31, 2005 11:32 am    Post subject: Simple question [SOLVED] Reply with quote

Where do I put 'alias' commands I want to be executed at startup, so they'll be permanent?

Thanks!


Last edited by mhelvens on Thu Mar 31, 2005 9:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Thu Mar 31, 2005 11:35 am    Post subject: Reply with quote

~/.bashrc
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Thu Mar 31, 2005 11:35 am    Post subject: Reply with quote

/etc/conf.d/local.start ?

this is just a guess .. not on my gentoo machine at the moment to test :)
Back to top
View user's profile Send private message
mhelvens
Guru
Guru


Joined: 17 Mar 2005
Posts: 337
Location: The Netherlands

PostPosted: Thu Mar 31, 2005 11:38 am    Post subject: Reply with quote

Maybe the one kimchi_sg gave is specific for each user and the one Splink gave is for all users?

Anyway, thanks! I'll take a look at both.
Back to top
View user's profile Send private message
mhelvens
Guru
Guru


Joined: 17 Mar 2005
Posts: 337
Location: The Netherlands

PostPosted: Thu Mar 31, 2005 9:44 pm    Post subject: Reply with quote

I put it in ~/.bashrc. Works perfectly! Thanks!
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Thu Mar 31, 2005 11:54 pm    Post subject: Reply with quote

Michiel_H wrote:
Maybe the one kimchi_sg gave is specific for each user and the one Splink gave is for all users?

The one I gave is for only a single user.

If you want it to be defined for all users, put it in your very own bash variables file in /etc/env.d/. I like to call mine /etc/env.d/99local.
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