i'm trying to create a few aliases in a .cshrc file. I did this on a mac i had a few years ago, but have forgotten how to do it.
I've scoured the net, and everything just says 'open your .cshrc file in your home directory and then...'
that is my trouble i am thinking. i've opened the terminal app, which by default puts me in my home directory, right? there isn't a .cshrc file, so i used pico to create one. i put in a line like this:
alias dir ls -al
i saves and closed pico. closed the terminal app, and reopened, yet dir is unrecognized.
any ideas as to what i am doing wrong?
thanks!
tyler
I've scoured the net, and everything just says 'open your .cshrc file in your home directory and then...'
that is my trouble i am thinking. i've opened the terminal app, which by default puts me in my home directory, right? there isn't a .cshrc file, so i used pico to create one. i put in a line like this:
alias dir ls -al
i saves and closed pico. closed the terminal app, and reopened, yet dir is unrecognized.
any ideas as to what i am doing wrong?
thanks!
tyler