Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nach baselayout2-Umstellung:wo setzt man den Default Editor?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Duncan Mac Leod
Guru
Guru


Joined: 02 May 2004
Posts: 317
Location: Germany

PostPosted: Sun Oct 02, 2011 1:21 pm    Post subject: Nach baselayout2-Umstellung:wo setzt man den Default Editor? Reply with quote

Ich möchte den Default Editor systemweit auf vi setzen, denn nach der baselayout2-Umstellung steht der plötzlich auf nano.

Aber ich finde den Eintrag nirgendwo...


Last edited by Duncan Mac Leod on Sun Oct 02, 2011 1:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Duncan Mac Leod
Guru
Guru


Joined: 02 May 2004
Posts: 317
Location: Germany

PostPosted: Sun Oct 02, 2011 1:46 pm    Post subject: Re: Nach baselayout2-Umstellung:wo setzt man den Default Edi Reply with quote

Duncan Mac Leod wrote:
Ich möchte den Default Editor systemweit auf vi setzen, denn nach der baselayout2-Umstellung steht der plötzlich auf nano.

Aber ich finde den Eintrag nirgendwo...


OK - hab's gefunden -> ist jetzt in /etc/profile
Back to top
View user's profile Send private message
duderino
n00b
n00b


Joined: 26 Nov 2009
Posts: 5
Location: Gießen

PostPosted: Sun Oct 02, 2011 2:04 pm    Post subject: Reply with quote

Hallo,

eine weitere Möglichkeit wäre /etc/env.d/99editor mit folgendem Inhalt anzulegen.

EDITOR="/usr/bin/DEIN_EDITOR"

Siehe auch:

http://www.gentoo.de/doc/de/openrc-migration.xml

unter Punkt 2.9

Grüße
Lord Igzorn
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4733
Location: Germany

PostPosted: Sun Oct 02, 2011 3:54 pm    Post subject: Reply with quote

duderino wrote:
eine weitere Möglichkeit wäre /etc/env.d/99editor mit folgendem Inhalt anzulegen.

EDITOR="/usr/bin/DEIN_EDITOR"

Jo, dies sollte mitlerweile auch mit eselect möglich sein, siehe
Code:
eselect editor
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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