Old 4th February 2007, 15:12
Yabadoo Yabadoo is offline
Join Date: Apr 2006
Location: Noord-Brabant, Netherlands
Posts: 39
Thanks: 5
Thanked 0 Times in 0 Posts

Originally Posted by martinfst
When you are on the system as root (either by logging in directly or by 'su -' or similar), use the command
cd ~
. It will take you to the home dir of the effective user. Then
nano .bashrc
edit and you're done.

If you login as a regular user 1st and the 'upgrade' yourself, you can also edit the .bashrc file of the regular user. Environment variables are promoted to sub-shells.
Thanks Martin,

I had to change a little bit to get it working under opensuse 10.2
export VISUAL=/usr/bin/nano
Log off and on and it works
Reply With Quote
Sponsored Links
Old 4th February 2007, 16:58
martinfst martinfst is offline
Senior Member
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst

I had to change a little bit to get it working under opensuse 10.

export VISUAL=/usr/bin/nano
Distribution peculiarities.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 19:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.