Jump to content

WHERE the **** is ~/.emacs file ?


Dire_Wolf

Recommended Posts

I know i am a bit stupid. But what's more stupid than my small dose of stupidity is everyone constantly saying "add x to ~/.emacs file".

 

I mean you have a tutorial or tips saying to add something to a certain file. So aren't you failing in helping people with your tutorial/tips if person doesn't know where ~/.emacs file is because you assume that person knows it?

 

My ranting aside, could someone please tell me where to find ~/.emacs file.

I want to add abbrevations, i googled a bit but because i don't understand english that well i didn't find any solutions.

 

So where is this cursed file?

Link to comment
Share on other sites

In most *nix based systems, the character '~' is a shortcut to the user's home directory.

So, if you go to your home directory and vi .emacs, you'll hop right into it.

You can do this by typing "cd ~; vi .emacs" or just typing in "vi ~/.emacs"

Files that begin with a '.' are hidden files. They aren't listed unless you "ls -a".

 

The reason no one said specificly that '~' is the home directory is because it's basic, intro class knowledge. If I tell you to go to the /etc/httpd/conf folder, I don't need to tell you to "cd /etc/httpd/conf" because you should know how to do it already.

~M

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.