Very often you want Cygwin terminal to open up in a specific directory on your computer. Here is a guide how to set the Cygwin startup directory.
How to change Cygwin startup directory
- Open Cygwin terminal
- Type “pwd”
- Note your current startup directory
- Open up a text edtior and add the following line: “cd c:/path/to/desired/cygwin/startup/directory/”
- Save the file as “.profile” in your current cygwin startup directory
- The next time you open Cygwin terminal it will open up in your new startup directory