mroswell / list-N

EPA List of COVID-19 Disinfectants

Home Page:list-n.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install github-aware terminal prompt

mroswell opened this issue · comments

These two look promising. Try first one, first, and if I can't figure it out, go for the "simplest" one.

Apparently the first link is unmaintained. Someone suggested:

I don't like seeing: "Marjories-MacBook-Pro" and I don't like seeing the bold. (too bright) Will stick with what I've got if I can figure out how to remove those.

Okay, looks like this unlocks the secret codes more than the zsh-git-prompt docs
http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html

Good enough. Actually, a big improvement. Still using the original olivierverdier/zsh-git-prompt version.

source ~/zsh-git-prompt/zshrc.sh
PROMPT='%~$(git_super_status) %# '
# Default values for the appearance of the prompt. Configure at will.
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
ZSH_THEME_GIT_PROMPT_SEPARATOR="|"
# ZSH_THEME_GIT_PROMPT_BRANCH="%{$fg_bold[magenta]%}"
ZSH_THEME_GIT_PROMPT_BRANCH="%{$fg[magenta]%}"                      #unbold 
ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[red]%}%{●%G%}"
ZSH_THEME_GIT_PROMPT_CONFLICTS="%{$fg[red]%}%{✖%G%}"
ZSH_THEME_GIT_PROMPT_CHANGED="%{$fg_bold[blue]%}%{✚%G%}" # bold so I can see it.
ZSH_THEME_GIT_PROMPT_BEHIND="%{↓%G%}"
ZSH_THEME_GIT_PROMPT_AHEAD="%{↑%G%}"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{…%G%}"
# ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}%{✔%G%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}%{✔%G%}"             # unbold