windows - Cygwin doesn't find /.bashrc -


i install cygwin on windows 7 64bit, , location on /.bashrc location c:/cygwin64/home/admin/bashrc, can't see cygwin, it's says:

bash: /.bashrc: no such file or directory

what try navigate folder command:

cd /cygdrive/c/cygwin64/home/admin/ 

and use:

/.bashrc 

but says:

no such file or directory

what see file?

i had same problem on cygwin installation.

cygwin_nt-6.1 2.5.2(0.297/5/3) x86_64 cygwin

i created ~/.bashrc file in (cygwin) home directory, aliases set did not work.

the problem did not have ~/.bash_profile file in home directory. must contain following line recognize desired .bashrc

. ~/.bashrc 

i created appending needed line

echo ". ~/.bashrc" >> ~/.bash_profile 

see stackoverflow > cygwin shell doesn't execute .bashrc


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -