LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   system wide setting of .emacs/.vimrc (https://www.linuxquestions.org/questions/slackware-14/system-wide-setting-of-emacs-vimrc-303007/)

monkeyking 03-17-2005 10:47 PM

system wide setting of .emacs/.vimrc
 
I just finished installing slackware 10.0 and everything works like a charm.
But I do have one little problem.

Where are the system .emacs .vimrc.

I want to add a few lines to each of them, but which files should I edit.
(It should be for all users.)

thanks in advance.
[edit]
ps. And if you know which xf86 config slackware is using.
pps. And If I want to make changes to my .bashrc where should I put the changes. like path class_path.
ppps. And last question. Do all the files that are marked executable in /ets/rc.d/*, actually run at boot time or do I net to add the name of my extra stuff somewhere else??

Thanks again.

xgreen 03-18-2005 01:02 AM

just find them using find cmd

find / - name xxxx

slack use xorgconf /etc/X11/xorgconf

slackie1000 03-18-2005 03:24 AM

Re: system wide setting of .emacs/.vimrc
 
Quote:

Where are the system .emacs .vimrc.
i think /usr/share/emacs and /usr/share/vim
Quote:

ps. And if you know which xf86 config slackware is using.
already answered. ;)
Quote:

pps. And If I want to make changes to my .bashrc where should I put the changes. like path class_path.
i don't get it. in your personal .bashrc? if it is for everybody change /etc/profile. attention here if you use a login shell or not.

Quote:

ppps. And last question. Do all the files that are marked executable in /ets/rc.d/*, actually run at boot time or do I net to add the name of my extra stuff somewhere else??
yes. you can put your stuff here. everything executable will run. there is a file already for your stuff "rc.local".

regards

slackie1000

monkeyking 03-18-2005 05:26 AM

It seems like the globel .vimrc file is /usr/share/vim/vimrc

I'm still quite puzzled about the .emacs , but I'm more into vi so It doesn't really matter.
I only want emacs so I can run the jdee ide, hehe

What do you mean by attention concerning the login promt??

slackie1000 03-18-2005 05:30 AM

hi there,

it is a long history. take a look at
Code:

man bash
the user file can be also .bash_profile depending of your login setup. nothing to worry about. 90% of the users do not care about that.
most distro also helps you with the line
Code:

source .bash_profile
in the global definitions..

regards

slackie1000


All times are GMT -5. The time now is 03:52 PM.