?
Solved

Change editor to Pico

Posted on 2009-04-10
2
Medium Priority
?
316 Views
Last Modified: 2012-05-06
I hate vim.  How can I change my default editor to pico?

I use CentOs 5.
0
Comment
Question by:hankknight
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 800 total points
ID: 24116166
some tools look for the env variable EDITOR, hence you can set it

EDITOR=pico ; export EDITOR
0
 
LVL 14

Accepted Solution

by:
Monis Monther earned 1200 total points
ID: 24121571
Hi Guys

I just want to follow up on this, you just need to put those two steps in your .bashrc file under your home directory, so you have the variable available after reboots and closing sesions and terminals..etc

under .bashrc

EDITOR=pico
export EDITOR
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question