From 4a07c82824c8f239ce6ab88bd8c5b9e8a9e1e432 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Wed, 23 Sep 2015 18:36:44 -0400 Subject: [PATCH] Fix a couple issues with the go prompt --- bullet-train.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bullet-train.zsh-theme b/bullet-train.zsh-theme index 8a138af..e386ef3 100644 --- a/bullet-train.zsh-theme +++ b/bullet-train.zsh-theme @@ -98,7 +98,7 @@ fi # Go if [ ! -n "${BULLETTRAIN_GO_SHOW+1}" ]; then - BULLETTRAIN_GO_SHOW=true + BULLETTRAIN_GO_SHOW=false fi if [ ! -n "${BULLETTRAIN_GO_BG+1}" ]; then BULLETTRAIN_GO_BG=cyan @@ -381,7 +381,7 @@ prompt_go() { setopt extended_glob if [[ (-f *.go(#qN) || -d Godeps) ]]; then if command -v go > /dev/null 2>&1; then - prompt_segment $BULLETTRAIN_GO_BG $BULLETTRAIN_GO_FG $BULLETTRAIN_GO_PREFIX"$(go version | grep -oE 'go[[:digit:]].[[:digit:]]')" + prompt_segment $BULLETTRAIN_GO_BG $BULLETTRAIN_GO_FG $BULLETTRAIN_GO_PREFIX" $(go version | grep -oE 'go[[:digit:]].[[:digit:]]')" fi fi }