You are not logged in.

#1 2010-11-20 12:16:35

Digit
Member
Registered: 2008-04-28
Posts: 71

packer refuses to ackowledge "export EDITOR="nano""

packer refuses to ackowledge "export EDITOR="nano""


in my desperation, i've tried everywhere i can think of

/etc/bash.bashrc
/etc/skel/.bash_profile
/etc/skel/.bashrc
~/.bashrc
~/.bash_profile
/etc/profile

they all now have:

export EDITOR="nano"

(overkill much?)

(it shouldnt make any difference whether nano has quotation marks around it, should it?)

i've checked nano is installed.  i've reinstalled packer too.

and yet still, every time i need to edit a PKGBLD, packer gives me a vi interface.   :/

i dont get it...  where did i go wrong?
(i've already had the joke "using nano" :p)

https://bbs.archlinux.org/viewtopic.php?pid=697005 made it all seem so easy... and it should have been!
... tempted to see what happens if i remove vi.  XD


fave quote of the mo': "Man's reach should exceed his grasp, else what's a heaven for." - Robert Browning

Offline

#2 2010-11-20 12:45:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: packer refuses to ackowledge "export EDITOR="nano""

Have you sourced that files?

. ~/.bashrc

If nothing changed, type

export EDITOR="nano"

and press enter - does it work?

It's a bad idea to directly modify files that are in /etc/skel - they act as templates so they should be as vanilla as possible. The system ignores them by default so your changes won't do a thing.

Last edited by karol (2010-11-20 12:49:43)

Offline

#3 2010-11-20 13:58:03

Digit
Member
Registered: 2008-04-28
Posts: 71

Re: packer refuses to ackowledge "export EDITOR="nano""

karol wrote:

Have you sourced that files?

*facepalm*

yeah, i just checked it out in another tty.

seems all is well.

dejavu.


thnx karol.  smile


fave quote of the mo': "Man's reach should exceed his grasp, else what's a heaven for." - Robert Browning

Offline

Board footer

Powered by FluxBB