work/root/home/user/.local/profile.d/999.zsh-git-prompt.sh

10 lines
199 B
Bash
Raw Normal View History

ZGP="$HOME/Library/Homebrew/opt/zsh-git-prompt/zshrc.sh"
if [ -n "$ZSH_VERSION" ]; then
if [[ -e "$ZGP" ]]; then
source "$ZGP"
fi
export PROMPT='%m:%~ $(git_super_status)$ '
fi