Julia Evans on Nostr: if you have your current git branch in your shell prompt, what do you use to set it ...
Published at
2024-03-01 16:02:19Event JSON
{
"id": "b0ef71f801088e773d76badfe2a855d832704efd8793b74e504cf0165dd0f040",
"pubkey": "26cad6f140bf86de9c26b7c15419cab1aebdd7086358d26aa2d750e21cf3bf2e",
"created_at": 1709308939,
"kind": 1,
"tags": [
[
"proxy",
"https://social.jvns.ca/users/b0rk/statuses/112021270682943256",
"activitypub"
]
],
"content": "if you have your current git branch in your shell prompt, what do you use to set it up?\n\nso far I know about\n\n* git's built in git-prompt.sh https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh\n* I think oh-my-zsh has something?\n* fish_git_prompt https://fishshell.com/docs/current/cmds/fish_git_prompt.html",
"sig": "f46dd88144a306bac40a5017f4947e693161f537389ca83784a95f082a9a43e2a014173ff7f209bb9aeb4f0fd91ea42fdfac6f3c2b973e906e23675c8775a7cf"
}