oh-my-fish / theme-bobthefish

A Powerline-style, Git-aware fish theme optimized for awesome.
MIT License
1.46k stars 225 forks source link

Feature Request: Git show remote branch name if local branch name differs #330

Open JungPhilipp opened 2 years ago

JungPhilipp commented 2 years ago

Feature: Show git remote branch name when its local tracking branch name differs. This is a very common pattern when using Gerrit for example.

My old zsh scheme (powerlevel10k) displays the remote branch name in this case after a colon.

localBranchWithDifferentName

I'll try to implement this myself and send a PR, but I'm pretty new to fish so not sure how much this will help :)

Anyhow, thanks for providing and maintaining this wonderful theme!

bobthecow commented 2 years ago

yeah, that's a great idea! i'm on for the next week, but will try to take a look after. if you want to give it a shot first, i'd be happy to help a PR along :)