DEV Community

Discussion on: Configuring Hyper Terminal in Windows

Collapse
 
droidmakk profile image
Afroze Kabeer Khan. M

Hey, Hi. I installed Fira Code font. Changed the font family for bash in config and customized the PS1 variable.

Collapse
 
omorfaruque_of profile image
Omor Faruque • Edited

How did you customize the PS1 variable? Cause I have 0 knowledge on shell script so I don't know what part to change plus I have read the oh-my-git installation guide there I couldn't find anything on how to install it on windows and integrate with git bash.

Thread Thread
 
dnyy profile image
Daniel

I'm not quite there yet either but i found this helpful:
alanbarber.com/post/how-to-customi...

Thread Thread
 
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