Skip to content

Instantly share code, notes, and snippets.

Avatar
👑
Getting it done

Helen Hou-Sandi helen

👑
Getting it done
View GitHub Profile
@helen
helen / spaceship_prompt_svn.sh
Last active Sep 11, 2020
I still do stuff with Subversion so here's what I have to add a tiny amount of info to my Spaceship prompt
View spaceship_prompt_svn.sh
# You can put this in your .zshrc
# Custom Spaceship section for SVN
SPACESHIP_SVN_SHOW="${SPACESHIP_SVN_SHOW=true}"
SPACESHIP_SVN_PREFIX="${SPACESHIP_SVN_PREFIX="$SPACESHIP_PROMPT_DEFAULT_PREFIX"}"
SPACESHIP_SVN_SUFFIX="${SPACESHIP_SVN_SUFFIX="$SPACESHIP_PROMPT_DEFAULT_SUFFIX"}"
SPACESHIP_SVN_SYMBOL="${SPACESHIP_SVN_SYMBOL="🐢 "}"
SPACESHIP_SVN_COLOR="${SPACESHIP_SVN_COLOR="yellow"}"
spaceship_svn() {
[[ $SPACESHIP_SVN_SHOW == false ]] && return