You are not logged in.
Pages: 1
How do I do it? I'm stuck with vim right now. And I don't want to learn vim, when nano is enough for me. Can't find anything by googling either.
Offline
You can set the editor in the yaourtrc.
You can see a description via
man yaourtrc
Last edited by Barghest (2010-07-04 13:17:28)
Offline
Change the EDITOR line to "nano" in your /etc/yaourtrc file.
To know or not to know ...
... the questions remain forever.
Offline
If you want to use nano as the default editor for all terminal-related stuff, add
export EDITOR="nano"
to your ~/.bashrc file.
Yaourt (like most cli programs) by default looks for the $EDITOR environment variable for your editor of choice. So if you change the value of that variable to 'nano', all those programs will use nano.
My ship don't crash! She crashes, you crashed her!
Offline
Thank's. Everythings as it should be now.
Last edited by rocknrolf77 (2010-07-05 19:59:46)
Offline
Remember to mark as solved.
Offline
Pages: 1