DEV Community

Discussion on: Configuring Hyper Terminal in Windows

 
loctran016 profile image
LocTran016

Did you mean that I should add something like this source $HOME/oh-my-git/prompt.sh to C:\Program Files\Git\etc\profile.d\git-prompt.sh

Thread Thread
 
loctran016 profile image
LocTran016

I've figured this out.
First you have to clone oh-my-git:

cd c:/
git clone https://github.com/arialdomartini/oh-my-git.git
Enter fullscreen mode Exit fullscreen mode

Then add this line to your C:\Program Files\Git\etc\profile.d\git-prompt.sh:

source c:/oh-my-git/prompt.sh
Enter fullscreen mode Exit fullscreen mode