Changin terminal editor

Last time I intalled git on my computer I had to use vi to commit every change, as Im not so good editing files width vi I opted for change the editor to nano, so to do that open a terminal and type this:

export EDITOR=nano

Where nano is the editor to use.

Advertisement
Explore posts in the same categories: Linux

Etiquetas: , ,

You can comment below, or link to this permanent URL from your own site.

Deja un comentario

Fill in your details below or click an icon to log in:

Logo de WordPress.com

You are commenting using your WordPress.com account. Log Out / Cambiar )

Twitter picture

You are commenting using your Twitter account. Log Out / Cambiar )

Facebook photo

You are commenting using your Facebook account. Log Out / Cambiar )

Connecting to %s


Seguir

Get every new post delivered to your Inbox.