Where can you edit your ".profile"

Posted:
in macOS edited January 2014
Does OSX contain this file at all? Because there are certain aliases I would like to add to the command line and a few directories to my MAN path, but I cannot find the file that contains my profile. Anyone know how to get to it?

Comments

  • Reply 1 of 2
    eugeneeugene Posts: 8,254member
    First, what shell are you using? tcsh?



    Create a file called .tcshrc in your home directory. Make sure you use the right syntax because csh/tcsh is not the same as bash.



    Also check out the files in /usr/share/init/tcsh .
  • Reply 2 of 2
    macgpmacgp Posts: 88member
    [quote]Originally posted by Eugene:

    <strong>First, what shell are you using? tcsh?



    Create a file called .tcshrc in your home directory. Make sure you use the right syntax because csh/tcsh is not the same as bash.



    Also check out the files in /usr/share/init/tcsh .</strong><hr></blockquote>





    I use the the tcsh and the C Shell. But I think I will stick with .tcshrc profile. I was thinking about doing that. Thanks, that helps
Sign In or Register to comment.