1

I'm a novice at cygwin/linux administration so please be patient with my ignorance:

I'm trying to change my .bashrc profile and setup (.gitconfig ) I can't seem to find my home folder.

My hypothesis is that i don't have my home folder because i've remapped my dos $HOME path. Could this be the trick?

Anyways how would one rebuild the home folder ? Uninstall and reinstall cygwin? (i'd like to avoid this if possible).

Thanks a plethora in advance,

Chris

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
chrisjlee
  • 955
  • 2
  • 11
  • 21

2 Answers2

2

If you open up a cygwin shell instead of a cmd shell you should start out in your home directory. cygpath and pwd should be able to help you figure out where you are.

pjz
  • 10,497
  • 1
  • 31
  • 40
0

Yes, if $HOME is set when Cygwin is invoked, Cygwin will use that as your home directory. Otherwise it reads the location of your home directory from /etc/passwd.

ak2
  • 562
  • 3
  • 4