on-internet
← Community

Git for Windows doesn't execute my .bashrc file

Stack Overflow ·

I've just installed Git for Windows 2.5.0 on Windows 7, and it appears that my .bashrc file is not being executed when I run Git Bash. I created the file like so: Administrator@HintTech-Dev MINGW64 / $ pwd / Administrator@HintTech-Dev MINGW64 / $ cd ~ Administrator@HintTech-Dev MINGW64 ~ $ pwd /c/Users/Administrator Administrator@HintTech-Dev MINGW64 ~ $ touch .bashrc Administrator@HintTech-Dev MINGW64 ~ $ vi .bashrc [... I insert the line "ZZZTESTVAR=234" (without the quotes) into the file in vim ...] Administrator@HintTech-Dev MINGW64 ~ $ exit Yet, when I next run Git Bash: Administrator@Hin

Comments

Sign in or sign up to comment and upvote.

No comments yet.