» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with User:bartman + shell

show more git info on zsh prompt

This is my third post on the topic. I have harshly assimulated MadCoder's configuration. Here is my new zsh prompt:

zsh git prompt

[Read More]

User:bartman: Bart's Blog

show current git branch on zsh prompt (2)

NOTE: This post has been updated (again).

I previously wrote about showing the git branch name on the zsh prompt. Caio Marcelo pointed out that it didn't work very well because the git branch was being queried before the command was executed, and it should be after to catch git commands that change the branch, like git branch and git checkout.

He was right, here is a repost.

[Read More]

User:bartman: Bart's Blog