4
1
Every time I login to ssh terminal to edit files I execute the command
export EDITOR=nano
How Could I set nano as default editor so I shouldn't execute this command anymore
4
1
Every time I login to ssh terminal to edit files I execute the command
export EDITOR=nano
How Could I set nano as default editor so I shouldn't execute this command anymore
7
=
; that syntax is invalid.~/.bashrc
(assuming you use the Bash shell).
Has been answered dozens of times: https://www.google.com/search?q=export+editor+default
– user1686 – 2015-01-15T05:37:04.643