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 . It will take you to the home dir of the effective user. Then 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
Recent comments
1 day 6 hours ago
1 day 8 hours ago
1 day 20 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 10 hours ago
2 days 19 hours ago
2 days 21 hours ago
3 days 5 hours ago
3 days 6 hours ago