Search code examples
bashcygwinfilepath

Setting default path with Cygwin


I've got a Cygwin installation, and I'd like it to start Bash in a certain directory whenever I start up. How can I achieve this?


Solution

  • In your ~/.bashrc, You can either change your $HOME to that directory, or you can [tried and it didn't work] add a cd to that directory at the end of the file.