You are not logged in.
I want to make a system wide change to the editor all i can find is things that tell me to export EDITOR=nano https://bbs.archlinux.org/viewtopic.php?id=108167 this is related but the package obviously doesnt exist anyone able to help out here the VI editor opening constantly is rather irritating my fav console editor is nano
i guess i should say that im looking for a suitable alternative for this program or at least the file that stores that setting LOL
Last edited by fennectech (2014-11-27 00:09:19)
[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$
Offline
You export it from your shell's rc file https://wiki.archlinux.org/index.php/Ba … tion_files
Not sure what the linked thread has to do with this, or any Arch-related, issue, really...
Offline
the thing is i want it to be the system wide default not exported theres gotta be a way to set it system wide the update-alternitives command would do the job from debian but this is arch
[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$
Offline
There is, and it's mentioned in the link jasonwryan gave you.
I don't know what you mean by "not exported", how do you expect to set a variable for all subshells without exporting it?
Offline
OOOH i see i though that the default ditor is set from a configuration file not by the shell varible ive solved it and implimented it via /etc/bash.bashrc ill mark it solved now :3
[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$
Offline
Remember to export $VISUAL as well as $EDITOR, since there may still be some programs (less/crontab?) that will use $VISUAL (likely at a really inconvenient time). I've definitely gotten bit in the butt by that one before, although the details are a bit hazy.
Offline