You are not logged in.
Pages: 1
Hi All,
I use yaourt and every time I build a package it says:
Please add EDITOR to your environment variables.
I issued this command: export EDITOR=nano
and then I checked "env" and it shows up but disappears after a reboot. Can someone please tell me the proper way to add this and where?
Thanks
Last edited by Frabato (2009-06-13 13:53:11)
Offline
first, ensure you have this in ~/.bash_profile
. $HOME/.bashrc
then, put this in ~/.bashrc
export EDITOR=/usr/bin/nano
then, execute this (or login/out)
source ~/.bashrc
then go research all the other awesome things you can put in ~/.bashrc
//github/
Offline
if you're using bash for your shell adding that to ~/.bashrc should do the trick. If you're using something else there should be an equivalent configuration file.
Offline
My $EDITOR is set to vim but yaourt always opened PKGBUILDS in geany (which I set somewhere earlier).
I just couldn't find any mention of geany in any of yaourt or pacman related configuration files. It drove me crazy not being able to change that...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Thanks very much! That did it.
I'll leave this open to see if someone can help moljac024 with his question.
Offline
My $EDITOR is set to vim but yaourt always opened PKGBUILDS in geany (which I set somewhere earlier).
I just couldn't find any mention of geany in any of yaourt or pacman related configuration files. It drove me crazy not being able to change that...
Set your pkgbuildeditor in /etc/yaourtrc or /home/user/.yaourtrc.
Knute
Offline
moljac024 wrote:My $EDITOR is set to vim but yaourt always opened PKGBUILDS in geany (which I set somewhere earlier).
I just couldn't find any mention of geany in any of yaourt or pacman related configuration files. It drove me crazy not being able to change that...Set your pkgbuildeditor in /etc/yaourtrc or /home/user/.yaourtrc.
Omg I've looked everywhere but I missed that file...there it was, right in front of me, and it's set to geany
I don't use yaourt anymore anyway, but thanks anyway
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Pages: 1