Recently set up a Fedora 15 installation using the latest version of Parallels. Everything seems to be working fine, save for a particularly odd quirk. Whenever I set up an alias using something like alias homessh='ssh -X user@server.home.com' it doesn't seem to get retained once I close the Terminal.

Running 'alias' immediately afterward shows it on the list of aliases available to the system, and actually running said alias works. But if I close the Terminal, either by 'exit' or closing the window, its gone when I start up the next session.

Anyone have an idea what's happening?

link|improve this question

feedback

1 Answer

up vote 3 down vote accepted

They never do. Put them in ~/.bashrc.

link|improve this answer
...that probably should have been obvious. – EpiGrad Jan 6 at 23:14
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.