Skip to content

Instantly share code, notes, and snippets.

View helen's full-sized avatar
🥇
#first-name-club

Helen Hou-Sandi helen

🥇
#first-name-club
View GitHub Profile
@helen
helen / spaceship_prompt_svn.sh
Last active September 11, 2020 03:12
I still do stuff with Subversion so here's what I have to add a tiny amount of info to my Spaceship prompt
# 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