Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

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

share|improve this answer
    
...that probably should have been obvious. – Fomite Jan 6 '12 at 23:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .