mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2026-11-27 02:43:06 +01:00
Add detection for glide.yaml
This commit is contained in:
1 parent
4a07c82824
commit
dc152b5471
1 file changed
+1
-1
@@ -379,7 +379,7 @@ prompt_go() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
setopt extended_glob
|
setopt extended_glob
|
||||||
if [[ (-f *.go(#qN) || -d Godeps) ]]; then
|
if [[ (-f *.go(#qN) || -d Godeps || -f glide.yaml) ]]; then
|
||||||
if command -v go > /dev/null 2>&1; 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
|
||||||
|
|||||||
Reference in new issue
Block a user