Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Created January 22, 2012 17:33
Show Gist options
  • Save diegopacheco/1657772 to your computer and use it in GitHub Desktop.
Save diegopacheco/1657772 to your computer and use it in GitHub Desktop.
How to Create a .bash_profile in Cygwin
cd /
mkdir /home/diegopacheco
echo "export HOME=/home/diegopacheco" >>.bashrc
echo "export HOME=/home/diegopacheco" >>.bash_profile
cp .bashrc .bash_profile /home/diegopacheco
echo "cd" >>.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment