title: Defining aliases in Cygwin under Windows
body: <p>I am trying to define some aliases in cygwin, but with no success. I am doing so like this at the end of the <code>.bashrc</code> file.</p>
  
  <pre><code>alias foo='pwd'
  </code></pre>
  
  <p>I have tried to add this line in a <code>.bashrc</code> file in both inside the <code>home</code> folder of cygwin and in the home folder for the Windows user I am on <code>C:\Users\Nuno\</code>. In both cases I have just appended this line to a copy of the <code>/etc/skel/.bashrc</code> file. In either cases, it didn't work.</p>
  
  <p>I had this working before. I had to reinstall Cygwin and ever since it never worked properly again. I have removed all files (or at least think so, when doing the reinstallation). I have also noticed that in the first install (when it was working) cygwin already was creating .bash files in the <code>home</code> folder. Now, it doesn't.</p>
  
  <p>I am on a machine running Windows 7.</p>
  
  <p><strong>EDIT</strong>: My cygwin home folder is set to the Windows home folder <code>C:\Users\Nuno\</code>. I have placed what I think is a valid <code>.bashrc</code> file there, but it still doesn't work. </p>
  
  <p>Thanks in advance.</p>