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

Quote:
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
Code:
cd ~
. It will take you to the home dir of the effective user. Then
Code:
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
Code:
export VISUAL=/usr/bin/nano
Log off and on and it works
Reply With Quote
Sponsored Links
  #12  
Old 4th February 2007, 15: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
 
Default

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

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

Bookmarks

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 11:51.


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