You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to occur after running these commands?
something has caused git bash to start forcing the HOME env to /home/$USERNAME instead of what it should be at /c/Users/username, and I cannot for the life of me find what is causing it other than just an update broke things at some point. this worked previously.
i can't find an override in any of the profile files etc, and even forcing via export in session cannot override it.
i've tried switching the nssswitch value to windows as well as forcing HOME env via windows.
you can see my real shell envs here from powershell:
Setup
defaults?
to the issue you're seeing?
env (as seen by git-bash):
MSYSTEM=MINGW64
PATH=
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINDOWS
WINDIR=C:\WINDOWS
TERM=xterm-256color
HOME=/home/ikiris
Details
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
git-bash
What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
something has caused git bash to start forcing the HOME env to /home/$USERNAME instead of what it should be at /c/Users/username, and I cannot for the life of me find what is causing it other than just an update broke things at some point. this worked previously.
i can't find an override in any of the profile files etc, and even forcing via export in session cannot override it.
i've tried switching the nssswitch value to windows as well as forcing HOME env via windows.
you can see my real shell envs here from powershell:
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\ikiris\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133370443822771631
COMMONPROGRAMFILES=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=FEAR
COMSPEC=C:\WINDOWS\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
GOPATH=C:\Users\ikiris\go
HOME=/c/Users/ikiris
HOMEDRIVE=C:
HOMEPATH=\Users\ikiris
LOCALAPPDATA=C:\Users\ikiris\AppData\Local
LOGONSERVER=\SORROW
MSYS2_PATH_TYPE=inherit
NUMBER_OF_PROCESSORS=8
OneDrive=C:\Users\ikiris\OneDrive
OS=Windows_NT
PATH=/c/Program Files/Python312/Scripts:/c/Program Files/Python312:/c/Program Files (x86)/VMware/VMware Player/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/c/Program Files/Microsoft VS Code/bin:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/ProgramData/chocolatey/bin:/c/Program Files/OpenSSH-Win64:/c/Program Files/dotnet:/c/Program Files/Graphviz/bin:/c/Program Files/Go/bin:/c/Program Files (x86)/WinSCP:/c/Program Files/TortoiseGit/bin:/c/Program Files/Docker/Docker/resources/bin:/c/Program Files/Git/cmd:/c/Users/ikiris/.cargo/bin:/c/WINDOWS/system32/config/systemprofile/AppData/Local/Microsoft/WindowsApps:/c/WINDOWS/system32/config/systemprofile/go/bin:/c/Program Files/Lens/resources/cli/bin:/ucrt64/bin:/usr/bin:/c/Users/ikiris/go/bin:/c/Users/ikiris/AppData/Local/Keybase
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW;.CPL
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=5e03
ProgramData=C:\ProgramData
PROGRAMFILES=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Intel\Wired Networking
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SSH_AGENT_PID=1551
SSH_AUTH_SOCK=C:/Users/ikiris/AppData/Local/Temp/ssh-pXhYgM4D6XcZ/agent.1550
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINDOWS
TEMP=/c/Users/ikiris/AppData/Local/Temp
TMP=/c/Users/ikiris/AppData/Local/Temp
USERDNSDOMAIN=
USERDOMAIN=
USERDOMAIN_ROAMINGPROFILE=
USERNAME=ikiris
USERPROFILE=C:\Users\ikiris
VAULT_ADDR=
WINDIR=C:\WINDOWS
TERM=xterm-256color
because of the above, none of my config files are being applied, breaking the ability to run git commands via git-bash
The text was updated successfully, but these errors were encountered: