LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2011, 10:33 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Question How to use default text editor?


Code:
export EDITOR="nano"
in ".zshrc". How do I use default text editor now?
 
Old 01-25-2011, 10:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you don't directly. That environmental variable is used by any program which needs to present you a file / text to edit, e.g. visudo, crontab -e, svn ci.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Text editor with CR+LF default? BuilderQ Linux - Software 6 10-12-2007 02:07 PM
Gnome is not Allowing me to Change its Default Text Editor rickh Linux - Desktop 2 06-02-2007 11:21 AM
LXer: Howto Change Default Text editor in Debian Etch LXer Syndicated Linux News 0 05-22-2007 03:01 PM
How to set a default text editor carlsonultimate SUSE / openSUSE 2 04-26-2007 04:52 PM
Is it possible to change the default text editor? Gethyn Slackware 2 09-05-2006 06:08 PM


All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration