git

oh-my-zsh p10k git branch name shortened

I use this and I experiened like this: The branch name is shortened and can't read. So I have to…

2 years ago

Ubuntu WSL add git brach name to promt

you have to mofify ~/.basrc from that:   if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '…

6 years ago

This website uses cookies.